cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2360
Views
0
Helpful
1
Replies

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

quadrabe
Level 1
Level 1

On a C892FSP-K9 router we're trying to activate SSH.

However when trying to connect we get "Aborted: error status 0".

The output of show ip ssh is:

SSH Enabled - version 2.0
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
MAC Algorithms:hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96
KEX Algorithms:diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
Authentication timeout: 60 secs; Authentication retries: 2
Minimum expected Diffie Hellman key size : 2048 bits
IOS Keys in SECSH format(ssh-rsa, base64 encoded): sshkeys
%SSH: Failed to encode IOS ASN.1 to SECSH format

 

%SSH: Failed to encode IOS ASN.1 to SECSH format worries me a lot.

I did try to zeroize the RSA keys and regenerate them, but to no avail.

 

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

Look at this link

 

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuu89120/?referring_site=bugquickviewredir

 

what is the version of code running.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help