Open moffitj opened 2 years ago
Using SSH to linux servers works fine.
Connections from windterm to any Cisco device fail with "Received SSH_MSG_DISCONNECT: 2:Received EOF for non-existent channel 0."
Connections to Linux servers from windterm work fine.
Connections from other linux servers to cisco devices work fine.
I am using the windows version of 2.5.0.
The linux (ubuntu 22.04) version of 2.5.0 does not have this problem.
[2022-09-14 10:41:50] ssh_connect: libssh 0.9.6 (c) 2003-2021 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_winlock [2022-09-14 10:41:50] getai: host 127.0.0.1 matches an IP address [2022-09-14 10:41:50] ssh_socket_connect: Nonblocking connection socket: 2648 [2022-09-14 10:41:50] ssh_connect: Socket connecting, now waiting for the callbacks to work [2022-09-14 10:41:50] ssh_connect: Actual timeout : 10000 [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: Received POLLOUT in connecting state [2022-09-14 10:41:50] socket_callback_connected: Socket connection callback: 1 (0) [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] callback_receive_banner: Received banner: SSH-1.99-Cisco-1.25 [2022-09-14 10:41:50] ssh_client_connection_callback: SSH server banner: SSH-1.99-Cisco-1.25 [2022-09-14 10:41:50] ssh_analyze_banner: Analyzing banner: SSH-1.99-Cisco-1.25 [2022-09-14 10:41:50] ssh_client_select_hostkeys: Order of wanted host keys: "ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss" [2022-09-14 10:41:50] ssh_make_string_bn: Importing a 24 bits, 3 bytes object ... [2022-09-14 10:41:50] ssh_make_string_bn: Importing a 2056 bits, 257 bytes object ... [2022-09-14 10:41:50] ssh_known_hosts_read_entries: Failed to open the known_hosts file '/etc/ssh/ssh_known_hosts': No such file or directory [2022-09-14 10:41:50] ssh_client_select_hostkeys: Algorithms found in known_hosts files: "rsa-sha2-512,rsa-sha2-256,ssh-rsa" [2022-09-14 10:41:50] ssh_client_select_hostkeys: Changing host key method to "rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-dss" [2022-09-14 10:41:50] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group14-sha256,ext-info-c [2022-09-14 10:41:50] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-dss [2022-09-14 10:41:50] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc [2022-09-14 10:41:50] ssh_list_kex: encryption server->client: aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc [2022-09-14 10:41:50] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96 [2022-09-14 10:41:50] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96 [2022-09-14 10:41:50] ssh_list_kex: compression algo client->server: none [2022-09-14 10:41:50] ssh_list_kex: compression algo server->client: none [2022-09-14 10:41:50] ssh_list_kex: languages client->server: [2022-09-14 10:41:50] ssh_list_kex: languages server->client: [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=20, len=1148, padding_size=7, comp=1140, payload=1140] [2022-09-14 10:41:50] ssh_send_kex: SSH_MSG_KEXINIT sent [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 8) [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=312, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 20 [len=308,padding=4,comp=303,payload=303] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 20 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 20 [2022-09-14 10:41:50] ssh_list_kex: kex algos: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 [2022-09-14 10:41:50] ssh_list_kex: server host key algo: ssh-rsa [2022-09-14 10:41:50] ssh_list_kex: encryption client->server: aes128-ctr,aes192-ctr,aes256-ctr [2022-09-14 10:41:50] ssh_list_kex: encryption server->client: aes128-ctr,aes192-ctr,aes256-ctr [2022-09-14 10:41:50] ssh_list_kex: mac algo client->server: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96 [2022-09-14 10:41:50] ssh_list_kex: mac algo server->client: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96 [2022-09-14 10:41:50] ssh_list_kex: compression algo client->server: none [2022-09-14 10:41:50] ssh_list_kex: compression algo server->client: none [2022-09-14 10:41:50] ssh_list_kex: languages client->server: [2022-09-14 10:41:50] ssh_list_kex: languages server->client: [2022-09-14 10:41:50] ssh_kex_select_methods: Negotiated diffie-hellman-group-exchange-sha1,ssh-rsa,aes256-ctr,aes256-ctr,hmac-sha2-256,hmac-sha2-256,none,none,, [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=34, len=20, padding_size=6, comp=13, payload=13] [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 8) [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=280, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 31 [len=276,padding=8,comp=267,payload=267] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 31 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 31 [2022-09-14 10:41:50] ssh_packet_client_dhgex_group: SSH_MSG_KEX_DH_GEX_GROUP received [2022-09-14 10:41:50] ssh_make_string_bn: Importing a 2056 bits, 257 bytes object ... [2022-09-14 10:41:50] ssh_make_string_bn: Importing a 8 bits, 1 bytes object ... [2022-09-14 10:41:50] ssh_make_bignum_string: 2048 bits, 256 bytes, 1 padding [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=32, len=268, padding_size=5, comp=262, payload=262] [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 8) [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=848, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 33 [len=828,padding=8,comp=819,payload=819] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 33 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 33 [2022-09-14 10:41:50] ssh_packet_client_dhgex_reply: SSH_MSG_KEX_DH_GEX_REPLY received [2022-09-14 10:41:50] ssh_make_string_bn: Importing a 2048 bits, 256 bytes object ... [2022-09-14 10:41:50] ssh_make_string_bn: Importing a 24 bits, 3 bytes object ... [2022-09-14 10:41:50] ssh_make_string_bn: Importing a 2056 bits, 257 bytes object ... [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2022-09-14 10:41:50] ssh_packet_set_newkeys: called, direction = OUT [2022-09-14 10:41:50] ssh_make_bignum_string: 17 bits, 3 bytes, 0 padding [2022-09-14 10:41:50] ssh_make_bignum_string: 2048 bits, 256 bytes, 1 padding [2022-09-14 10:41:50] ssh_make_bignum_string: 2048 bits, 256 bytes, 1 padding [2022-09-14 10:41:50] ssh_make_bignum_string: 2 bits, 1 bytes, 0 padding [2022-09-14 10:41:50] ssh_make_bignum_string: 2048 bits, 256 bytes, 1 padding [2022-09-14 10:41:50] ssh_make_bignum_string: 2047 bits, 256 bytes, 0 padding [2022-09-14 10:41:50] ssh_make_bignum_string: 2047 bits, 256 bytes, 0 padding [2022-09-14 10:41:50] crypt_set_algorithms2: Set output algorithm to aes256-ctr [2022-09-14 10:41:50] crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256 [2022-09-14 10:41:50] crypt_set_algorithms2: Set input algorithm to aes256-ctr [2022-09-14 10:41:50] crypt_set_algorithms2: Set HMAC input algorithm to hmac-sha2-256 [2022-09-14 10:41:50] ssh_make_bignum_string: 2047 bits, 256 bytes, 0 padding [2022-09-14 10:41:50] ssh_init_rekey_state: Set rekey after 65536000 blocks [2022-09-14 10:41:50] ssh_init_rekey_state: Set rekey after 65536000 blocks [2022-09-14 10:41:50] ssh_packet_set_newkeys: Set rekey after 3600 seconds [2022-09-14 10:41:50] ssh_packet_client_dhgex_reply: SSH_MSG_NEWKEYS sent [2022-09-14 10:41:50] ssh_packet_socket_callback: Processing 16 bytes left in socket buffer [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=16, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 21 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 21 [2022-09-14 10:41:50] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2022-09-14 10:41:50] pki_signature_from_rsa_blob: RSA signature len: 256 [2022-09-14 10:41:50] ssh_pki_signature_verify: Going to verify a ssh-rsa type signature [2022-09-14 10:41:50] pki_verify_data_signature: Signature valid [2022-09-14 10:41:50] ssh_packet_newkeys: Signature verified and valid [2022-09-14 10:41:50] ssh_packet_set_newkeys: called, direction = IN [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] ssh_connect: current state : 7 [2022-09-14 10:41:50] ssh_make_bignum_string: 17 bits, 3 bytes, 0 padding [2022-09-14 10:41:50] ssh_make_bignum_string: 2048 bits, 256 bytes, 1 padding [2022-09-14 10:41:50] packet_send2: packet: wrote [type=5, len=28, padding_size=10, comp=17, payload=17] [2022-09-14 10:41:50] ssh_service_request: Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth) [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 64 [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=64, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 6 [len=28,padding=10,comp=17,payload=17] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 6 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 6 [2022-09-14 10:41:50] ssh_packet_service_accept: Received SSH_MSG_SERVICE_ACCEPT [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=50, len=60, padding_size=19, comp=40, payload=40] [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=96, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 51 [len=60,padding=14,comp=45,payload=45] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 51 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 51 [2022-09-14 10:41:50] ssh_packet_userauth_failure: Access denied for 'none'. Authentication that can continue: publickey,keyboard-interactive,password [2022-09-14 10:41:50] ssh_packet_userauth_failure: Access denied for 'none'. Authentication that can continue: publickey,keyboard-interactive,password [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] ssh_userauth_kbdint_init: Sending keyboard-interactive init request [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=50, len=76, padding_size=11, comp=64, payload=64] [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=80, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 60 [len=44,padding=11,comp=32,payload=32] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 60 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 60 [2022-09-14 10:41:50] ssh_packet_userauth_pk_ok: Received SSH_USERAUTH_PK_OK/INFO_REQUEST/GSSAPI_RESPONSE [2022-09-14 10:41:50] ssh_packet_userauth_pk_ok: keyboard-interactive context, assuming SSH_USERAUTH_INFO_REQUEST [2022-09-14 10:41:50] ssh_packet_userauth_info_request: 1 keyboard-interactive prompts [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] ssh_userauth_kbdint_send: Sending keyboard-interactive response packet [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=61, len=44, padding_size=19, comp=24, payload=24] [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=48, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 52 [len=12,padding=10,comp=1,payload=1] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 52 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 52 [2022-09-14 10:41:50] ssh_packet_userauth_success: Authentication successful [2022-09-14 10:41:50] ssh_packet_userauth_success: Received SSH_USERAUTH_SUCCESS [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=8, in_blocks=5 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] channel_open: Creating a channel 43 with 64000 window and 32768 max packet [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=9, in_blocks=6 [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=90, len=44, padding_size=19, comp=24, payload=24] [2022-09-14 10:41:50] channel_open: Sent a SSH_MSG_CHANNEL_OPEN type session for channel 43 [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=64, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 91 [len=28,padding=10,comp=17,payload=17] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 91 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 91 [2022-09-14 10:41:50] ssh_packet_channel_open_conf: Received SSH2_MSG_CHANNEL_OPEN_CONFIRMATION [2022-09-14 10:41:50] ssh_packet_channel_open_conf: Received a CHANNEL_OPEN_CONFIRMATION for channel 43:3 [2022-09-14 10:41:50] ssh_packet_channel_open_conf: Remote window : 8192, maxpacket : 4096 [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=9, in_blocks=6 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=11, in_blocks=8 [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=98, len=60, padding_size=12, comp=47, payload=47] [2022-09-14 10:41:50] channel_request: Sent a SSH_MSG_CHANNEL_REQUEST pty-req [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=48, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 99 [len=12,padding=6,comp=5,payload=5] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 99 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 99 [2022-09-14 10:41:50] ssh_packet_channel_success: Received SSH_CHANNEL_SUCCESS on channel (43:3) [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=11, in_blocks=6 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] channel_request: Channel request pty-req success [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=11, in_blocks=6 [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=98, len=28, padding_size=12, comp=15, payload=15] [2022-09-14 10:41:50] channel_request: Sent a SSH_MSG_CHANNEL_REQUEST shell [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=128, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 99 [len=12,padding=6,comp=5,payload=5] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 99 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 99 [2022-09-14 10:41:50] ssh_packet_channel_success: Received SSH_CHANNEL_SUCCESS on channel (43:3) [2022-09-14 10:41:50] ssh_packet_socket_callback: Processing 80 bytes left in socket buffer [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=80, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: packet: read type 94 [len=44,padding=7,comp=36,payload=36] [2022-09-14 10:41:50] ssh_packet_incoming_filter: Filtering packet type 94 [2022-09-14 10:41:50] ssh_packet_process: Dispatching handler for packet type 94 [2022-09-14 10:41:50] channel_rcv_data: Channel receiving 27 bytes data in 0 (local win=64000 remote win=8192) [2022-09-14 10:41:50] channel_default_bufferize: placing 27 bytes into channel buffer (stdout) [2022-09-14 10:41:50] channel_rcv_data: Channel windows are now (local win=63973 remote win=8192) [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=11, in_blocks=8 [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] packet_send2: packet: wrote [type=93, len=28, padding_size=18, comp=9, payload=9] [2022-09-14 10:41:50] grow_window: growing window (channel 43:3) to 1280000 bytes [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=11, in_blocks=8 [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=11, in_blocks=8 [2022-09-14 10:41:50] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:50] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:50] channel_request: Channel request shell success [2022-09-14 10:41:50] channel_open: Creating a channel 44 with 64000 window and 32768 max packet [2022-09-14 10:41:50] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=12, in_blocks=9 [2022-09-14 10:41:50] packet_send2: packet: wrote [type=90, len=44, padding_size=19, comp=24, payload=24] [2022-09-14 10:41:50] channel_open: Sent a SSH_MSG_CHANNEL_OPEN type session for channel 44 [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 80 [2022-09-14 10:41:50] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:50] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:50] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:50] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:51] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:51] ssh_packet_socket_callback: rcv packet cb (len=64, state=INIT) [2022-09-14 10:41:51] ssh_packet_socket_callback: packet: read type 92 [len=28,padding=10,comp=17,payload=17] [2022-09-14 10:41:51] ssh_packet_incoming_filter: Filtering packet type 92 [2022-09-14 10:41:51] ssh_packet_process: Dispatching handler for packet type 92 [2022-09-14 10:41:51] ssh_packet_channel_open_fail: Channel opening failure: channel 44 error (4) [2022-09-14 10:41:51] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=12, in_blocks=9 [2022-09-14 10:41:51] ssh_packet_socket_callback: rcv packet cb (len=0, state=INIT) [2022-09-14 10:41:51] ssh_packet_socket_callback: Waiting for more data (0 < 16) [2022-09-14 10:41:51] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=12, in_blocks=9 [2022-09-14 10:41:51] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:51] packet_send2: packet: wrote [type=96, len=12, padding_size=6, comp=5, payload=5] [2022-09-14 10:41:51] ssh_channel_send_eof: Sent a EOF on client channel (44:0) [2022-09-14 10:41:51] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=12, in_blocks=9 [2022-09-14 10:41:51] packet_send2: packet: wrote [type=97, len=12, padding_size=6, comp=5, payload=5] [2022-09-14 10:41:51] ssh_channel_close: Sent a close on client channel (44:0) [2022-09-14 10:41:51] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 48 [2022-09-14 10:41:51] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2022-09-14 10:41:51] ssh_channel_read_timeout: Read (27) buffered : 27 bytes. Window: 1280000 [2022-09-14 10:41:51] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLOUT ), out buffer 0 [2022-09-14 10:41:51] ssh_socket_pollcallback: sending control flow event [2022-09-14 10:41:51] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2022-09-14 10:41:51] ssh_socket_pollcallback: Poll callback on socket 2648 (POLLIN ), out buffer 0 [2022-09-14 10:41:51] ssh_packet_socket_callback: rcv packet cb (len=96, state=INIT) [2022-09-14 10:41:51] ssh_packet_socket_callback: packet: read type 1 [len=60,padding=6,comp=53,payload=53] [2022-09-14 10:41:51] ssh_packet_incoming_filter: Filtering packet type 1 [2022-09-14 10:41:51] ssh_packet_process: Dispatching handler for packet type 1 [2022-09-14 10:41:51] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 2:Received EOF for non-existent channel 0. [2022-09-14 10:41:51] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 2:Received EOF for non-existent channel 0. [2022-09-14 10:41:51] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=12, in_blocks=12 [2022-09-14 10:41:51] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=12, in_blocks=12 [2022-09-14 10:41:51] ssh_socket_exception_callback: Socket exception callback: 2 (0) [2022-09-14 10:41:51] ssh_socket_exception_callback: Socket error: No error [2022-09-14 10:41:51] packet_send2: packet: wrote [type=96, len=12, padding_size=6, comp=5, payload=5] [2022-09-14 10:41:51] ssh_channel_send_eof: Sent a EOF on client channel (43:3) [2022-09-14 10:41:51] ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=12, in_blocks=12 [2022-09-14 10:41:51] ssh_socket_exception_callback: Socket exception callback: 2 (0) [2022-09-14 10:41:51] ssh_socket_exception_callback: Socket error: No error [2022-09-14 10:41:51] packet_send2: packet: wrote [type=97, len=12, padding_size=6, comp=5, payload=5] [2022-09-14 10:41:51] ssh_channel_close: Sent a close on client channel (43:3) [2022-09-14 10:41:51] [2022-09-14 10:41:51] [2022-09-14 10:41:51] [2022-09-14 10:41:51] CiscoSwitch>
Can anyone provide insight on this issue?
Using SSH to linux servers works fine.
Connections from windterm to any Cisco device fail with "Received SSH_MSG_DISCONNECT: 2:Received EOF for non-existent channel 0."
Connections to Linux servers from windterm work fine.
Connections from other linux servers to cisco devices work fine.
I am using the windows version of 2.5.0.
The linux (ubuntu 22.04) version of 2.5.0 does not have this problem.