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

ssh error:04067078:rsa routines:RSA_EAY_PUBLIC_DECRYPT:key size too small

Nuno Moreira
Level 1
Level 1

What is wrong with my ssh connection? I know it is not the size of the rsa key… What else can it be?

 

# on the client side:

Nexus–9000 – NXOS: version 6.1(2)I3(5) ----------  192.168.1.252

 

ssh 192.168.1.3

The authenticity of host '192.168.1.3 (192.168.1.3)' can't be established.

RSA key fingerprint is SHA1:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '192.168.1.3' (RSA) to the list of known hosts.

ssh_rsa_verify: EVP_VerifyFinal fail with errormsg='error:04067078:rsa routines:RSA_EAY_PUBLIC_DECRYPT:key size too small'

key_verify failed for server_host_key

 

# on the server side:

WS-C2960G-48TC-L – 12.2(55)SE3 – C2960–LANBASEK9-M ---- 192.168.1.3

%SEC-6-IPACCESSLOGP: list ACL_vty permitted tcp 192.168.1.252(28176) -> 0.0.0.0(22), 1 packet
SSH1: starting SSH control process
SSH1: sent protocol version id SSH-2.0-Cisco-1.25
SSH1: protocol version id is - SSH-2.0-OpenSSH_6.2 PKIX
SSH2 1: send: len 280 (includes padlen 4)
SSH2 1: SSH2_MSG_KEXINIT sent
SSH2 1: ssh_receive: 600 bytes received
SSH2 1: input: packet len 600
SSH2 1: partial packet 8, need 592, maclen 0
SSH2 1: input: padlen 10
SSH2 1: received packet type 20
SSH2 1: SSH2_MSG_KEXINIT received
SSH2: kex: client->server aes128-cbc hmac-sha1 none
SSH2: kex: server->client aes128-cbc hmac-sha1 none
SSH2 1: expecting SSH2_MSG_KEXDH_INIT
SSH2 1: ssh_receive: 144 bytes received
SSH2 1: input: packet len 144
SSH2 1: partial packet 8, need 136, maclen 0
SSH2 1: input: padlen 5
SSH2 1: received packet type 30
SSH2 1: SSH2_MSG_KEXDH_INIT received
SSH2 1: signature length 111
SSH2 1: send: len 384 (includes padlen 7)
SSH2: kex_derive_keys complete
SSH2 1: send: len 16 (includes padlen 10)
SSH2 1: newkeys: mode 1
SSH2 1: SSH2_MSG_NEWKEYS sent
SSH2 1: waiting for SSH2_MSG_NEWKEYS
SSH2 1: send: len 80 (includes padlen 15)
SSH2 1: done calc MAC out #3
%SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection
SSH1: Session disconnected - error 0x00

0 Replies 0