Hi,

here we go with more info. Everything i can get from client side. I dont have control over the remote server:

INFO: Connecting to xxxx.deutschepost.de port 22
INFO: Connection established
INFO: Remote version string: SSH-2.0-6.4.4.60 SSH Tectia Server
INFO: Local version string: SSH-2.0-JSCH-0.1.51
INFO: CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
INFO: CheckKexes: diffie-hellman-group14-sha1
INFO: SSH_MSG_KEXINIT sent
INFO: SSH_MSG_KEXINIT received
INFO: kex: server: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group14-sha256@ssh.com,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256
INFO: kex: server: ssh-dss,ssh-dss-sha256@ssh.com
INFO: kex: server: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,seed-cbc@ssh.com
INFO: kex: server: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,seed-cbc@ssh.com
INFO: kex: server: hmac-sha1,hmac-md5
INFO: kex: server: hmac-sha1,hmac-md5
INFO: kex: server: none,zlib
INFO: kex: server: none,zlib
INFO: kex: server: 
INFO: kex: server: 
INFO: kex: client: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
INFO: kex: client: ssh-rsa,ssh-dss
INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc
INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc
INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
INFO: kex: client: none
INFO: kex: client: none
INFO: kex: client: 
INFO: kex: client: 
INFO: kex: server->client aes128-cbc hmac-md5 none
INFO: kex: client->server aes128-cbc hmac-md5 none
INFO: SSH_MSG_KEXDH_INIT sent
INFO: expecting SSH_MSG_KEXDH_REPLY
INFO: Disconnecting from xxxx.deutschepost.de port 22

Caused by: com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidKeyException: Key is too long for this algorithm

        at com.jcraft.jsch.Session.connect(Session.java:558)

        at com.jcraft.jsch.Session.connect(Session.java:183)

        at de.netversys.util.networking.SFTPClientWrapper.transfer(SFTPClientWrapper.java:107)

        ... 111 more


I dont have much more i can provide. 




2014-07-29 10:56 GMT+02:00 Lothar Kimmeringer <job@kimmeringer.de>:
Am 28.07.2014 20:56, schrieb Marc Logemann:

> just want to report back. I upgraded JSch to latest version and
> installed the JCE Ext. Security JAR from Oracle without any
> difference. Error is still the same with Java8. Seems to be a
> major bug in JSch. Hope someone of the authors can reply to that...

Here[TM] JSCH runs with Java8 and there are no problems like that.
Make sure that you really installed the unlimited strength files
into the correct directory (maybe you installed it into the JDK
but not the JRE or vice versa). If not, please create a java-class
that helps to reproduce the problem or provide more informations
like Martin already told you.


Cheers, Lothar

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users