Preetham Kajekar
2016-10-25 17:46:36 UTC
Hi,
I am trying to connect to a SloarWinds SFTP server using JSCH. It fails
with the below error. I have noticed this happens with a bunch of other
SFTP servers as well, but works fine on an OpenSSH server. I am guessing
this is some kind of config issue and any pointers would help.
Thanks,
~preetham
--log ---
KEX=diffie-hellman-group1-sha1
Connecting to 172.16.5.71 port 22
Connection established
Remote version string: SSH-1.99-WeOnlyDo 2.2.9
Local version string: SSH-2.0-JSCH-0.1.53
CheckCiphers:
aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
CheckKexes:
diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
SSH_MSG_KEXINIT sent
SSH_MSG_KEXINIT received
kex: server: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
kex: server: ssh-rsa
kex: server:
aes128-cbc,aes128-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes192-ctr,aes256-cbc,aes256-ctr,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,
rijndael-***@lysator.liu.se,cast128-cbc
kex: server:
aes128-cbc,aes128-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes192-ctr,aes256-cbc,aes256-ctr,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,
rijndael-***@lysator.liu.se,cast128-cbc
kex: server: hmac-sha1,hmac-sha1-96,hmac-md5,none
kex: server: hmac-sha1,hmac-sha1-96,hmac-md5,none
kex: server: zlib,none
kex: server: zlib,none
kex: server:
kex: server:
kex: client: diffie-hellman-group1-sha1
kex: client:
ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
kex: client:
none,blowfish-cbc,3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-ctr,arcfour,arcfour128,arcfour256
kex: client:
none,blowfish-cbc,3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-ctr,arcfour,arcfour128,arcfour256
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: none
kex: client: none
kex: client:
kex: client:
kex: server->client blowfish-cbc hmac-md5 none
kex: client->server blowfish-cbc hmac-md5 none
SSH_MSG_KEXDH_INIT sent
expecting SSH_MSG_KEXDH_REPLY
ssh_rsa_verify: signature true
Permanently added '172.16.5.71' (RSA) to the list of known hosts.
- Permanently added '172.16.5.71' (RSA) to the list of known hosts.
SSH_MSG_NEWKEYS sent
SSH_MSG_NEWKEYS received
SSH_MSG_SERVICE_REQUEST sent
Disconnecting from 172.16.5.71 port 22
I am trying to connect to a SloarWinds SFTP server using JSCH. It fails
with the below error. I have noticed this happens with a bunch of other
SFTP servers as well, but works fine on an OpenSSH server. I am guessing
this is some kind of config issue and any pointers would help.
Thanks,
~preetham
--log ---
KEX=diffie-hellman-group1-sha1
Connecting to 172.16.5.71 port 22
Connection established
Remote version string: SSH-1.99-WeOnlyDo 2.2.9
Local version string: SSH-2.0-JSCH-0.1.53
CheckCiphers:
aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
CheckKexes:
diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
SSH_MSG_KEXINIT sent
SSH_MSG_KEXINIT received
kex: server: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
kex: server: ssh-rsa
kex: server:
aes128-cbc,aes128-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes192-ctr,aes256-cbc,aes256-ctr,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,
rijndael-***@lysator.liu.se,cast128-cbc
kex: server:
aes128-cbc,aes128-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes192-ctr,aes256-cbc,aes256-ctr,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,
rijndael-***@lysator.liu.se,cast128-cbc
kex: server: hmac-sha1,hmac-sha1-96,hmac-md5,none
kex: server: hmac-sha1,hmac-sha1-96,hmac-md5,none
kex: server: zlib,none
kex: server: zlib,none
kex: server:
kex: server:
kex: client: diffie-hellman-group1-sha1
kex: client:
ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
kex: client:
none,blowfish-cbc,3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-ctr,arcfour,arcfour128,arcfour256
kex: client:
none,blowfish-cbc,3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-ctr,arcfour,arcfour128,arcfour256
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: none
kex: client: none
kex: client:
kex: client:
kex: server->client blowfish-cbc hmac-md5 none
kex: client->server blowfish-cbc hmac-md5 none
SSH_MSG_KEXDH_INIT sent
expecting SSH_MSG_KEXDH_REPLY
ssh_rsa_verify: signature true
Permanently added '172.16.5.71' (RSA) to the list of known hosts.
- Permanently added '172.16.5.71' (RSA) to the list of known hosts.
SSH_MSG_NEWKEYS sent
SSH_MSG_NEWKEYS received
SSH_MSG_SERVICE_REQUEST sent
Disconnecting from 172.16.5.71 port 22