Hello Atsuhiko,

I got the following:

> Connecting to *.*.*.* port 22
> Connection established
> Remote version string: SSH-2.0-1.36_sshlib GlobalSCAPE
> Local version string: SSH-2.0-JSCH-0.1.51
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: diffie-hellman-group14-sha1
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: diffie-hellman-group1-sha1
> kex: server: ssh-dss
> kex: server: 
> twofish-cbc,twofish128-cbc,3des-cbc,cast128-cbc,aes256-cbc,aes128-cbc
> kex: server: 
> twofish-cbc,twofish128-cbc,3des-cbc,cast128-cbc,aes256-cbc,aes128-cbc
> kex: server: hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96
> kex: server: hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96
> kex: server: zlib,none
> kex: server: zlib,none
> kex: server:
> kex: server:
> kex: client: diffie-hellman-group-exchange-sha1
> kex: client: ssh-rsa,ssh-dss
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc
> 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:
> Disconnecting from *.*.*.* port 22
> Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
>         at com.jcraft.jsch.Session.receive_kexinit(Session.java:583)
>         at com.jcraft.jsch.Session.connect(Session.java:320)
>         at com.jcraft.jsch.Session.connect(Session.java:183)

-----
Sincerely,
Nick

11.09.2014 19:03, Atsuhiko Yamanaka wrote:
> Hi,
>
>     +-From: Nick <equn...@gmail.com> ---------
>     |_Date: Thu, 11 Sep 2014 15:04:35 +0400 __
>     |
>     |I have faced with the same issue as discussed here
>     |http://sourceforge.net/p/jsch/mailman/message/32660306 and here
>     
> |http://stackoverflow.com/questions/25404371/java8-jcraft-key-is-too-long-for-this-algorithm
>
>     |I had a chance to test it with two different SFTP servers and got
>     |different results. Please find JSch logs (successful and failed) in
>     |attachments.
>     |Could you help me to find the root of the problem and how it can be 
> fixed?
>
> How about inserting following line,
>     session.setConfig("kex", "diffie-hellman-group-exchange-sha1");
> before session.connect() ?
>
>
> Sincerely,
> --
> Atsuhiko Yamanaka
> JCraft,Inc.
> 1-14-20 HONCHO AOBA-KU,
> SENDAI, MIYAGI 980-0014 Japan.
> Tel +81-22-723-2150
> Skype callto://jcraft/
>


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to