Hi,

   +-From: Luca Dentella <[email protected]> --
   |_Date: Mon, 24 May 2010 17:18:19 +0200 ___
   |
   |I'm working on a java project and I'm going to use JSch for SFTP 
   |connection. My test class worked fine when I used user/pass 
   |authentication, while it ends with "*Auth fail*" when I try to switch 
   |to user/key authentication.
   |If I manually connect to the server using OpenSSH client it works, so SSH
   |server should work and accept the key.
   |I set up a simple logger, from its output it seems JSch skips publickey
   |method... without errors.
   |Where am I wrong? Thanks!

Is it possible to check the sever side log?
I mean that running sshd with debug options,
  # /usr/sbin/sshd -d -d -d


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/
Twitter: @ymnk

------------------------------------------------------------------------------

_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to