- 论坛徽章:
- 1
|
度娘,Google了好久也没有解决问题,现在求助论坛大拿!
PS: 这里ssh连接都无问题,使用SecureFX作为sftp的客户端。
sshd_config配置文件也有subsystem的配置。
下面是客户端的log:- i SecureFX 版本 6.6.1.289 (Official Release - November 4, 2010)
- i 会话 00008 成功建立(为) session 172.16.3.51
- i SSH2Core version 6.6.0.289
- i 正在连接到 172.16.3.51:22 ...
- i 正在从状态 STATE_NOT_CONNECTED 更改为 STATE_EXPECT_KEX_INIT
- i Using protocol SSH2
- i RECV : Remote Identifier = 'SSH-2.0-OpenSSH_5.8'
- i CAP : Remote can re-key
- i CAP : Remote sends language in password change requests
- i CAP : Remote sends algorithm name in PK_OK packets
- i CAP : Remote sends algorithm name in public key packets
- i CAP : Remote sends algorithm name in signatures
- i CAP : Remote sends error text in open failure packets
- i CAP : Remote sends name in service accept packets
- i CAP : Remote includes port number in x11 open packets
- i CAP : Remote uses 160 bit keys for SHA1 MAC
- i CAP : Remote supports new diffie-hellman group exchange messages
- i CAP : Remote correctly handles unknown SFTP extensions
- i CAP : Remote correctly encodes OID for gssapi
- i CAP : Remote correctly uses connected addresses in forwarded-tcpip requests
- i CAP : Remote can do SFTP version 4
- i CAP : Remote x.509v3 uses ASN.1 encoding for DSA signatures
- i SSPI : Requesting full delegation
- i SSPI : [Kerberos] SPN : host@172.16.3.51
- i SSPI : [Kerberos] InitializeSecurityContext() failed.
- i SSPI : [Kerberos] The specified target is unknown or unreachable
- i SSPI : [Kerberos] Disabling gss mechanism
- i GSS : Requesting full delegation
- i GSS : [Kerberos] SPN : host@172.16.3.51
- i GSS : [Kerberos] InitializeSecurityContext() failed.
- i GSS : [Kerberos] Could not load library 'gssapi32.dll': The specified module could not be found.
- i GSS : [Kerberos] Disabling gss mechanism
- i GSS : [Kerberos] Disabling gss mechanism
- i The following key exchange method has been filtered from the key exchange method list because it is not supported: gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==
- i SSPI : Requesting full delegation
- i SSPI : [Kerberos (Group Exchange)] SPN : host@172.16.3.51
- i SSPI : [Kerberos (Group Exchange)] InitializeSecurityContext() failed.
- i SSPI : [Kerberos (Group Exchange)] The specified target is unknown or unreachable
- i SSPI : [Kerberos (Group Exchange)] Disabling gss mechanism
- i GSS : Requesting full delegation
- i GSS : [Kerberos (Group Exchange)] SPN : host@172.16.3.51
- i GSS : [Kerberos (Group Exchange)] InitializeSecurityContext() failed.
- i GSS : [Kerberos (Group Exchange)] Could not load library 'gssapi32.dll': The specified module could not be found.
- i GSS : [Kerberos (Group Exchange)] Disabling gss mechanism
- i GSS : [Kerberos (Group Exchange)] Disabling gss mechanism
- i The following key exchange method has been filtered from the key exchange method list because it is not supported: gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==
- i SEND : KEXINIT
- i RECV : Read kexinit
- i Available Remote Kex Methods = diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
- i Selected Kex Method = diffie-hellman-group-exchange-sha1
- i Available Remote Host Key Algos = ssh-rsa,ssh-dss
- i Selected Host Key Algo = ssh-dss
- i Available Remote Send Ciphers = aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
- i Selected Send Cipher = aes256-ctr
- i Available Remote Recv Ciphers = aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
- i Selected Recv Cipher = aes256-ctr
- i Available Remote Send Macs = hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
- i Selected Send Mac = hmac-sha1
- i Available Remote Recv Macs = hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
- i Selected Recv Mac = hmac-sha1
- i Available Remote Compressors = none,zlib@openssh.com
- i Selected Compressor = none
- i Available Remote Decompressors = none,zlib@openssh.com
- i Selected Decompressor = none
- i 正在从状态 STATE_EXPECT_KEX_INIT 更改为 STATE_KEY_EXCHANGE
- i SEND : KEXDH_GEX_REQUEST
- i RECV : KEXDH_GEX_GROUP
- i SEND : KEXDH_INIT
- i RECV : KEXDH_REPLY
- i SEND : NEWKEYS
- i 正在从状态 STATE_KEY_EXCHANGE 更改为 STATE_EXPECT_NEWKEYS
- i RECV: Remote Hostkey: 54:9a:13:05:ef:4a:69:a4:c3:0d:83:33:f6:41:78:b5
- i RECV : NEWKEYS
- i 正在从状态 STATE_EXPECT_NEWKEYS 更改为 STATE_CONNECTION
- i SEND: SERVICE_REQUEST[ssh-userauth]
- i RECV: SERVICE_ACCEPT[ssh-userauth] -- OK
- i SENT : USERAUTH_REQUEST [none]
- i RECV : USERAUTH_FAILURE, continuations [publickey,password,keyboard-interactive]
- i SENT : USERAUTH_REQUEST [password]
- i RECV : AUTH_SUCCESS
- i Channel Closed.
复制代码 ssh连接成功之后,随即便断开了连接,通过抓包发现是客户端发送的FIN关闭。使用root用户也没用。
|
|