cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1376
Views
0
Helpful
2
Replies

Error "sshd[31506]: error: key_load_public: invalid format" with SSH login AiroNet

Hello, friends. I have 3 this AP: cisco AIR-AP1852E-R-K9 (AP software ap1g4-k9w8 version 8.4.100.0)

 

I cannot to login by ssh. Only telnet and https.

To view logs i use this command: "show ap eventlog APA0F8.497C.0028". In this log i find this sshd errors:

 

Mar 21 10:48:32 sshd[21537]: error: key_load_public: invalid format
Mar 21 10:48:32 sshd[21537]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 10:48:32 sshd[21537]: error: key_load_public: invalid format
Mar 21 10:48:32 sshd[21537]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 10:48:32 sshd[21537]: fatal: Unable to negotiate with 172.19.4.191 port 3714: no matching host key type found. Their offer: ssh-rsa,ssh-dss
Mar 21 10:48:38 sshd[21553]: error: key_load_public: invalid format

--More-- or (q)uit
Mar 21 10:48:38 sshd[21553]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 10:48:38 sshd[21553]: error: key_load_public: invalid format
Mar 21 10:48:38 sshd[21553]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 10:48:38 sshd[21553]: fatal: Unable to negotiate with 172.19.4.191 port 3719: no matching host key type found. Their offer: ssh-rsa,ssh-dss
Mar 21 11:42:31 sshd[27674]: error: key_load_public: invalid format
Mar 21 11:42:31 sshd[27674]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 11:42:31 sshd[27674]: error: key_load_public: invalid format
Mar 21 11:42:31 sshd[27674]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 11:42:31 sshd[27674]: fatal: Unable to negotiate with 172.19.4.191 port 3588: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-1.3.132.0.10,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa
Mar 21 12:03:59 sshd[30106]: error: key_load_public: invalid format
Mar 21 12:03:59 sshd[30106]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 12:03:59 sshd[30106]: error: key_load_public: invalid format
Mar 21 12:03:59 sshd[30106]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 12:03:59 sshd[30106]: fatal: Unable to negotiate with 172.19.4.191 port 4600: no matching host key type found. Their offer: ecdsa-sha2-nistp256,ssh-rsa,ssh-dss
Mar 21 12:06:45 sshd[30417]: error: key_load_public: invalid format
Mar 21 12:06:45 sshd[30417]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 12:06:45 sshd[30417]: error: key_load_public: invalid format
Mar 21 12:06:45 sshd[30417]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 12:06:45 sshd[30417]: fatal: Unable to negotiate with 172.19.4.191 port 1906: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-1.3.132.0.10,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa,ss

--More-- or (q)uit
Mar 21 12:10:06 sshd[30804]: error: key_load_public: invalid format
Mar 21 12:10:06 sshd[30804]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 12:10:06 sshd[30804]: error: key_load_public: invalid format
Mar 21 12:10:06 sshd[30804]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 12:10:06 sshd[30804]: fatal: Unable to negotiate with 172.19.4.191 port 4101: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-1.3.132.0.10,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa,ss
Mar 21 12:16:08 sshd[31483]: error: key_load_public: invalid format
Mar 21 12:16:08 sshd[31483]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 12:16:08 sshd[31483]: error: key_load_public: invalid format
Mar 21 12:16:08 sshd[31483]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 12:16:08 sshd[31483]: fatal: Unable to negotiate with 172.19.4.191 port 3583: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-1.3.132.0.10,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa,ss
Mar 21 12:16:12 sshd[31506]: error: key_load_public: invalid format
Mar 21 12:16:12 sshd[31506]: error: Could not load host key: /mnt/application/ssh_host_rsa_key
Mar 21 12:16:12 sshd[31506]: error: key_load_public: invalid format
Mar 21 12:16:12 sshd[31506]: error: Could not load host key: /mnt/application/ssh_host_ecdsa_key
Mar 21 12:16:12 sshd[31506]: fatal: Unable to negotiate with 172.19.4.191 port 3620: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-1.3.132.0.10,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa,ss

 

As i understand from google )) i cannot login because use "

OpenSSH can no longer connect to Cisco routers/switches using the default settings of KexAlgorithms

"

May be this is bug: https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuw36025 ?

Is it possible to downgrade in my AP this new version of ssh?

Thank you

2 Replies 2

Please help.

patoberli
VIP Alumni
VIP Alumni
What SSH software are you using to connect? Can you try a different one?
Also you should upgrade to 8.5.140.0, version 8.4.x have been deferred.
Review Cisco Networking for a $25 gift card