sshview icon indicating copy to clipboard operation
sshview copied to clipboard

Decryption error -> Failed to setup packet

Open cimapp opened this issue 3 years ago • 0 comments

I'm trying to connect to a mac machine but always get this error. Any ideas?

[2022/06/04 13:36:04.946711, 3] getai:  host XXX matches an IP address
[2022/06/04 13:36:04.946991, 2] ssh_socket_connect:  Nonblocking connection socket: 5
[2022/06/04 13:36:04.947134, 2] ssh_connect:  Socket connecting, now waiting for the callbacks to work
[2022/06/04 13:36:04.949724, 3] ssh_connect:  Actual timeout : 10000
[2022/06/04 13:36:04.972110, 3] ssh_socket_pollcallback:  Received POLLOUT in connecting state
[2022/06/04 13:36:04.972268, 1] socket_callback_connected:  Socket connection callback: 1 (0)
[2022/06/04 13:36:04.972445, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2022/06/04 13:36:05.176249, 3] callback_receive_banner:  Received banner: SSH-2.0-OpenSSH_8.6
[2022/06/04 13:36:05.176401, 2] ssh_client_connection_callback:  SSH server banner: SSH-2.0-OpenSSH_8.6
[2022/06/04 13:36:05.176524, 2] ssh_analyze_banner:  Analyzing banner: SSH-2.0-OpenSSH_8.6
[2022/06/04 13:36:05.176666, 2] ssh_analyze_banner:  We are talking to an OpenSSH server version: 8.6 (80600)
[2022/06/04 13:36:05.179472, 3] ssh_client_select_hostkeys:  Order of wanted host keys: "ssh-ed25519,ssh-rsa,rsa-sha2-256"
[2022/06/04 13:36:05.180100, 3] ssh_client_select_hostkeys:  Algorithms found in known_hosts files: "ssh-ed25519"
[2022/06/04 13:36:05.180233, 3] ssh_client_select_hostkeys:  Changing host key method to "ssh-ed25519,ssh-rsa,rsa-sha2-256"
[2022/06/04 13:36:05.180499, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2022/06/04 13:36:05.180621, 3] packet_send2:  packet: wrote [type=20, len=628, padding_size=5, comp=622, payload=622]
[2022/06/04 13:36:05.180712, 3] ssh_send_kex:  SSH_MSG_KEXINIT sent
[2022/06/04 13:36:05.190250, 3] ssh_packet_socket_callback:  packet: read type 20 [len=1052,padding=10,comp=1041,payload=1041]
[2022/06/04 13:36:05.190375, 3] ssh_packet_process:  Dispatching handler for packet type 20
[2022/06/04 13:36:05.190571, 2] ssh_kex_select_methods:  Negotiated ecdh-sha2-nistp256,ssh-ed25519,[email protected],[email protected],aead-poly1305,aead-poly1305,none,none,,
[2022/06/04 13:36:05.191954, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2022/06/04 13:36:05.192043, 3] packet_send2:  packet: wrote [type=30, len=76, padding_size=5, comp=70, payload=70]
[2022/06/04 13:36:05.234354, 3] ssh_packet_socket_callback:  packet: read type 31 [len=220,padding=7,comp=212,payload=212]
[2022/06/04 13:36:05.234511, 3] ssh_packet_process:  Dispatching handler for packet type 31
[2022/06/04 13:36:05.235570, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2022/06/04 13:36:05.235668, 3] packet_send2:  packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1]
[2022/06/04 13:36:05.236099, 3] crypt_set_algorithms2:  Set output algorithm to [email protected]
[2022/06/04 13:36:05.236188, 3] crypt_set_algorithms2:  Set HMAC output algorithm to aead-poly1305
[2022/06/04 13:36:05.236261, 3] crypt_set_algorithms2:  Set input algorithm to [email protected]
[2022/06/04 13:36:05.236319, 3] crypt_set_algorithms2:  Set HMAC input algorithm to aead-poly1305
[2022/06/04 13:36:05.236424, 2] ssh_init_rekey_state:  Set rekey after 134217728 blocks
[2022/06/04 13:36:05.236499, 2] ssh_init_rekey_state:  Set rekey after 134217728 blocks
[2022/06/04 13:36:05.236572, 2] ssh_packet_client_ecdh_reply:  SSH_MSG_NEWKEYS sent
[2022/06/04 13:36:05.236636, 3] ssh_packet_socket_callback:  Processing 292 bytes left in socket buffer
[2022/06/04 13:36:05.236696, 3] ssh_packet_socket_callback:  packet: read type 21 [len=12,padding=10,comp=1,payload=1]
[2022/06/04 13:36:05.236760, 3] ssh_packet_process:  Dispatching handler for packet type 21
[2022/06/04 13:36:05.236827, 2] ssh_packet_newkeys:  Received SSH_MSG_NEWKEYS
[2022/06/04 13:36:05.237480, 2] ssh_packet_newkeys:  Signature verified and valid
[2022/06/04 13:36:05.237552, 3] ssh_packet_socket_callback:  Processing 276 bytes left in socket buffer
[2022/06/04 13:36:05.237762, 3] ssh_packet_socket_callback:  packet: read type 7 [len=256,padding=8,comp=247,payload=247]
[2022/06/04 13:36:05.237841, 3] ssh_packet_process:  Dispatching handler for packet type 7
[2022/06/04 13:36:05.237908, 3] ssh_packet_ext_info:  Received SSH_MSG_EXT_INFO
[2022/06/04 13:36:05.237968, 3] ssh_packet_ext_info:  Follows 1 extensions
[2022/06/04 13:36:05.238047, 3] ssh_packet_ext_info:  Extension: server-sig-algs=<ssh-ed25519,[email protected],ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected]>
[2022/06/04 13:36:05.238121, 3] ssh_connect:  current state : 7
[2022/06/04 13:36:05.238247, 3] packet_send2:  packet: wrote [type=5, len=24, padding_size=6, comp=17, payload=17]
[2022/06/04 13:36:05.238315, 3] ssh_service_request:  Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
[2022/06/04 13:36:05.238392, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2022/06/04 13:36:05.282020, 1] chacha20_poly1305_packet_setup:  EVP_PKEY_CTX_ctrl failed
[2022/06/04 13:36:05.282206, 1] chacha20_poly1305_aead_decrypt:  Failed to setup packet
[2022/06/04 13:36:05.282331, 1] ssh_packet_socket_callback:  Decryption error
[2022/06/04 13:36:05.282400, 3] ssh_packet_socket_callback:  Packet: processed 28 bytes
[2022/06/04 13:36:05.282595, 3] ssh_packet_socket_callback:  Packet: processed 0 bytes
[2022/06/04 13:36:05.282808, 1] chacha20_poly1305_packet_setup:  EVP_PKEY_CTX_ctrl failed
[2022/06/04 13:36:05.282972, 1] chacha20_poly1305_aead_encrypt:  Failed to setup packet
[2022/06/04 13:36:05.283150, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2022/06/04 13:36:05.283273, 3] packet_send2:  packet: wrote [type=1, len=32, padding_size=11, comp=20, payload=20]

cimapp avatar Jun 04 '22 20:06 cimapp