Category Archives: Linux

ssh options for ancient IOS version

Connecting to devices running ancient Cisco IOS versions can be a pain as newer ssh clients are not by default supporting weak ciphers and older key exchange algorithms as these old devices only support insecure ciphers.

I had an alias in my profile for this long ago but after upgrading my OS I ran into the issue again, in this case it was the following version of IOS:

Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE6, RELEASE SOFTWARE (fc1)

c3750-ipservicesk9-mz.122-55.SE6.bin

I found my previous workaround but this was no longer working, the fix was to also specify the cipher, adding the below as an alias in my .bashrc profile:

alias ssho='ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -caes256-cbc'
Facebooktwitterlinkedinby feather

Ping

I saw a tweet from Jeremy stretch (@packetlife) the other day about showing the ping statistics in linux without stopping the ping command which I had never seen used before (I obviously should have RTFM :P).  After which @jmhuwe and @synteki chimed in with the windows and OSX equivalents as per the below, thanks!

Linux – CTRL + \

Windows – CTRL + Break

OSX – Control + t

 Facebooktwitterlinkedinby feather