cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9553
Views
0
Helpful
15
Replies

SSH Error - Failed to Encode IOS

ronaldvg
Level 1
Level 1

Hi - SSH suddenly stopped working on our ASR 1001-x. 

 

investigating showed the following:

sho ip ssh

SSH Enabled - version 1.99

Authentication methods:publickey,keyboard-interactive,password

Authentication Publickey Algorithms:x509v3-ssh-rsa,ssh-rsa

Hostkey Algorithms:x509v3-ssh-rsa,ssh-rsa

Encryption Algorithms:aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc

MAC Algorithms:hmac-sha1,hmac-sha1-96

Authentication timeout: 120 secs; Authentication retries: 3

Minimum expected Diffie Hellman key size : 1024 bits

IOS Keys in SECSH format(ssh-rsa, base64 encoded): VA.CPCH.HQ.ASR.esvc.us

%SSH: Failed to encode IOS ASN.1 to SECSH format

 

We tried to zero the existing key and regenerate a new key. no change. reboot the ASR, no change. Telnet works so we are not dead in the water, but we really want to restore SSH access for obvious reasons.

Any help appreciated

Thank you

Ronald

15 Replies 15

NetworkAdmin2
Level 1
Level 1
my two types of switch available all the device logging through NOC swicth 2960,in my dc all the 2960 ssh is happened but 9300 switch ssh is not happened ,i put command
#sh ssh
no ssh v2 is currently running
#sh ip ssh
IOS Keys in SECSH format(ssh-rsa, base64 encoded): hostname.domain.com

%SSH: Failed to encode IOS ASN.1 to SECSH format

please give some advice to resolve the issue.

Review Cisco Networking for a $25 gift card