Friday, March 17, 2017

Cisco Switch: How To Determine The SSH Version

I was asked today how to determine what version of SSH you are running on your Cisco switching gear.  Two ways below.

cisco.stack#sh ssh
Connection Version Mode Encryption  Hmac         State                 Username
0          2.0     IN   aes256-cbc  hmac-sha1    Session started       shane
0          2.0     OUT  aes256-cbc  hmac-sha1    Session started       shane
%No SSHv1 server connections running.

cisco.stack#sh ip ssh
SSH Enabled - version 1.99
Authentication timeout: 60 secs; Authentication retries: 2
Minimum expected Diffie Hellman key size : 1024 bits
IOS Keys in SECSH format(ssh-rsa, base64 encoded):
ssh-rsa {key}

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.