|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Such as the title.
When I upgraded openssh to version 8.0 on centos 7.6, I was unable to connect to the host through SecureCRT 8.5. However, from other Linux hosts, ssh can be used to connect normally. Env: CentOS 7.6 openssl:1.1.1b(Compile args:-fPIC shared zlib-dynamic) openssh:8.0(Compile args:--prefix=/usr --sysconfdir=/etc/ssh --with-ssl --with-pam --with-zlib --with-md5-passwords) CRT trace: [PRINTER] : Printer initialization succeeded [LOCAL] : SSH2Core version 8.5.0.1867 [LOCAL] : Connecting to 127.0.0.1:7122 ... [LOCAL] : Changing state from STATE_NOT_CONNECTED to STATE_EXPECT_KEX_INIT [LOCAL] : Using protocol SSH2 [LOCAL] : RECV : Remote Identifier = 'SSH-2.0-OpenSSH_8.0' [LOCAL] : CAP : Remote can re-key [LOCAL] : CAP : Remote sends language in password change requests [LOCAL] : CAP : Remote sends algorithm name in PK_OK packets [LOCAL] : CAP : Remote sends algorithm name in public key packets [LOCAL] : CAP : Remote sends algorithm name in signatures [LOCAL] : CAP : Remote sends error text in open failure packets [LOCAL] : CAP : Remote sends name in service accept packets [LOCAL] : CAP : Remote includes port number in x11 open packets [LOCAL] : CAP : Remote uses 160 bit keys for SHA1 MAC [LOCAL] : CAP : Remote supports new diffie-hellman group exchange messages [LOCAL] : CAP : Remote correctly handles unknown SFTP extensions [LOCAL] : CAP : Remote correctly encodes OID for gssapi [LOCAL] : CAP : Remote correctly uses connected addresses in forwarded-tcpip requests [LOCAL] : CAP : Remote can do SFTP version 4 [LOCAL] : CAP : Remote uses SHA1 hash in RSA signatures for x.509v3 [LOCAL] : CAP : Remote x.509v3 uses ASN.1 encoding for DSA signatures [LOCAL] : CAP : Remote correctly handles zlib@openssh.com [LOCAL] : SEND : KEXINIT [LOCAL] : RECV : Read kexinit [LOCAL] : Available Remote Kex Methods = curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 [LOCAL] : Selected Kex Method = ecdh-sha2-nistp521 [LOCAL] : Available Remote Host Key Algos = rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [LOCAL] : Selected Host Key Algo = ssh-rsa [LOCAL] : Available Remote Send Ciphers = chacha20-poly1305@openssh.com,aes128...cm@openssh.com [LOCAL] : Selected Send Cipher = aes256-ctr [LOCAL] : Available Remote Recv Ciphers = chacha20-poly1305@openssh.com,aes128...cm@openssh.com [LOCAL] : Selected Recv Cipher = aes256-ctr [LOCAL] : Available Remote Send Macs = umac-64-etm@openssh.com,umac-128-etm...28@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [LOCAL] : Selected Send Mac = hmac-sha2-512 [LOCAL] : Available Remote Recv Macs = umac-64-etm@openssh.com,umac-128-etm...28@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [LOCAL] : Selected Recv Mac = hmac-sha2-512 [LOCAL] : Available Remote Compressors = none,zlib@openssh.com [LOCAL] : Selected Compressor = none [LOCAL] : Available Remote Decompressors = none,zlib@openssh.com [LOCAL] : Selected Decompressor = none [LOCAL] : Changing state from STATE_EXPECT_KEX_INIT to STATE_KEY_EXCHANGE [LOCAL] : SEND : SSH_MSG_KEX_ECDH_INIT [LOCAL] : RECV : SSH_MSG_KEX_ECDH_REPLY [LOCAL] : Changing state from STATE_KEY_EXCHANGE to STATE_READY_FOR_NEW_KEYS [LOCAL] : RECV: Remote Hostkey (SHA-2 hash hex): 4c:1c:2a:f7:2e:dc:9a:bd:1d:90:2e:14:b4:b3:6e:72:ec:6b:08:a3:a2:28:0e:44:84:5e:67:07:3b:56:19:dd [LOCAL] : RECV: Remote Hostkey (SHA-2 hash base64): TBwq9y7cmr0dkC4UtLNucuxrCKOiKA5EhF5nBztWGd0 [LOCAL] : RECV: Remote Hostkey (SHA-1 hash): 49:ce:0f:14:57:87:26:df:0d:18:5a:e0:9e:0c:e3:da:ca:bd:2a:bd [LOCAL] : RECV: Remote Hostkey (MD5 hash): bb:2d:f7:97:62:4f:1e:fb:bc:a1:b4:32:fd:2c:4d:bf [LOCAL] : RECV : NEWKEYS [LOCAL] : Changing state from STATE_READY_FOR_NEW_KEYS to STATE_NEWKEYS_RECEIVED [LOCAL] : SEND: SERVICE_REQUEST[ssh-userauth] SecureCRT - Version 8.5.3 (x64 build 1867) [LOCAL] : SEND : NEWKEYS [LOCAL] : Changing state from STATE_NEWKEYS_RECEIVED to STATE_CONNECTION [LOCAL] : RECV: SERVICE_ACCEPT[ssh-userauth] -- OK [LOCAL] : SENT : USERAUTH_REQUEST [none] [LOCAL] : Authenticating as user root [LOCAL] : RECV : USERAUTH_FAILURE, continuations [publickey,password] [LOCAL] : SENT : USERAUTH_REQUEST [password] [LOCAL] : RECV : USERAUTH_FAILURE, continuations [publickey,password] [LOCAL] : SENT : USERAUTH_REQUEST [password] [LOCAL] : RECV : USERAUTH_FAILURE, continuations [publickey,password] [LOCAL] : SEND: Disconnect packet: The user canceled authentication. [LOCAL] : Changing state from STATE_CONNECTION to STATE_SEND_DISCONNECT [LOCAL] : Changing state from STATE_SEND_DISCONNECT to STATE_CLOSED [LOCAL] : Connected for 17 seconds, 1826 bytes sent, 2517 bytes received [LOCAL] : Stream has closed [CLOSE_TYPE_NO_AUTO_RECONNECT] : The user canceled authentication. [PRINTER] : Printer initialization succeeded [LOCAL] : SSH2Core version 8.5.0.1867 [LOCAL] : Connecting to 127.0.0.1:7122 ... [LOCAL] : Changing state from STATE_NOT_CONNECTED to STATE_EXPECT_KEX_INIT [LOCAL] : Using protocol SSH2 [LOCAL] : RECV : Remote Identifier = 'SSH-2.0-OpenSSH_8.0' [LOCAL] : CAP : Remote can re-key [LOCAL] : CAP : Remote sends language in password change requests [LOCAL] : CAP : Remote sends algorithm name in PK_OK packets [LOCAL] : CAP : Remote sends algorithm name in public key packets [LOCAL] : CAP : Remote sends algorithm name in signatures [LOCAL] : CAP : Remote sends error text in open failure packets [LOCAL] : CAP : Remote sends name in service accept packets [LOCAL] : CAP : Remote includes port number in x11 open packets [LOCAL] : CAP : Remote uses 160 bit keys for SHA1 MAC [LOCAL] : CAP : Remote supports new diffie-hellman group exchange messages [LOCAL] : CAP : Remote correctly handles unknown SFTP extensions [LOCAL] : CAP : Remote correctly encodes OID for gssapi [LOCAL] : CAP : Remote correctly uses connected addresses in forwarded-tcpip requests [LOCAL] : CAP : Remote can do SFTP version 4 [LOCAL] : CAP : Remote uses SHA1 hash in RSA signatures for x.509v3 [LOCAL] : CAP : Remote x.509v3 uses ASN.1 encoding for DSA signatures [LOCAL] : CAP : Remote correctly handles zlib@openssh.com [LOCAL] : SEND : KEXINIT [LOCAL] : RECV : Read kexinit [LOCAL] : Available Remote Kex Methods = curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 [LOCAL] : Selected Kex Method = ecdh-sha2-nistp521 [LOCAL] : Available Remote Host Key Algos = rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [LOCAL] : Selected Host Key Algo = ssh-rsa [LOCAL] : Available Remote Send Ciphers = chacha20-poly1305@openssh.com,aes128...cm@openssh.com [LOCAL] : Selected Send Cipher = aes256-ctr [LOCAL] : Available Remote Recv Ciphers = chacha20-poly1305@openssh.com,aes128...cm@openssh.com [LOCAL] : Selected Recv Cipher = aes256-ctr [LOCAL] : Available Remote Send Macs = umac-64-etm@openssh.com,umac-128-etm...28@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [LOCAL] : Selected Send Mac = hmac-sha2-512 [LOCAL] : Available Remote Recv Macs = umac-64-etm@openssh.com,umac-128-etm...28@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [LOCAL] : Selected Recv Mac = hmac-sha2-512 [LOCAL] : Available Remote Compressors = none,zlib@openssh.com [LOCAL] : Selected Compressor = none [LOCAL] : Available Remote Decompressors = none,zlib@openssh.com [LOCAL] : Selected Decompressor = none [LOCAL] : Changing state from STATE_EXPECT_KEX_INIT to STATE_KEY_EXCHANGE [LOCAL] : SEND : SSH_MSG_KEX_ECDH_INIT SecureCRT - Version 8.5.3 (x64 build 1867) [LOCAL] : RECV : SSH_MSG_KEX_ECDH_REPLY [LOCAL] : Changing state from STATE_KEY_EXCHANGE to STATE_READY_FOR_NEW_KEYS [LOCAL] : RECV: Remote Hostkey (SHA-2 hash hex): 4c:1c:2a:f7:2e:dc:9a:bd:1d:90:2e:14:b4:b3:6e:72:ec:6b:08:a3:a2:28:0e:44:84:5e:67:07:3b:56:19:dd [LOCAL] : RECV: Remote Hostkey (SHA-2 hash base64): TBwq9y7cmr0dkC4UtLNucuxrCKOiKA5EhF5nBztWGd0 [LOCAL] : RECV: Remote Hostkey (SHA-1 hash): 49:ce:0f:14:57:87:26:df:0d:18:5a:e0:9e:0c:e3:da:ca:bd:2a:bd [LOCAL] : RECV: Remote Hostkey (MD5 hash): bb:2d:f7:97:62:4f:1e:fb:bc:a1:b4:32:fd:2c:4d:bf [LOCAL] : SEND : NEWKEYS [LOCAL] : Changing state from STATE_READY_FOR_NEW_KEYS to STATE_EXPECT_NEWKEYS [LOCAL] : RECV : NEWKEYS [LOCAL] : Changing state from STATE_EXPECT_NEWKEYS to STATE_CONNECTION [LOCAL] : SEND: SERVICE_REQUEST[ssh-userauth] [LOCAL] : RECV: SERVICE_ACCEPT[ssh-userauth] -- OK [LOCAL] : SENT : USERAUTH_REQUEST [none] [LOCAL] : Authenticating as user root [LOCAL] : RECV : USERAUTH_FAILURE, continuations [publickey,password] [LOCAL] : SENT : USERAUTH_REQUEST [password] [LOCAL] : RECV : AUTH_SUCCESS [LOCAL] : SEND[0]: SSH_MSG_CHANNEL_OPEN('session') [LOCAL] : SEND[0]: Pty Request (rows: 44, cols: 232) [LOCAL] : RECV[0]: pty request succeeded [LOCAL] : SEND[0]: shell request [LOCAL] : RECV: TCP/IP close [LOCAL] : Changing state from STATE_CONNECTION to STATE_CLOSED [LOCAL] : Discarding invalid state change from STATE_CLOSED to STATE_ALMOST_CLOSED. [LOCAL] : Connected for 0 seconds, 2018 bytes sent, 3237 bytes received [LOCAL] : Stream has closed [CLOSE_TYPE_NONSPECIFIC] : The operation completed successfully. |
Tags |
connect failed |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|