Re: [JSch-users] com.jcraft.jsch.JSchException: Auth fail
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2005-04-14 02:27:54
|
Hi, +-From: "Waseem Wahid" <ww...@it...> -- |_Date: Tue, 12 Apr 2005 13:33:02 -0700 _____ | |I'm a new jsch user. We are using jsch standalone (as well as from |within ant -- sshexec and scp tasks). The problem is that it |seems to work fine when connecting to servers (running linux and |freebsd) inside =ur network (behind a firewall), but for |connection to servers outside the network, we can't get it to |work. I tried the Sftp.java example, as well the above mentioned |ant tasks. The result is the same: It fails with the exception |com.jcraft.jsch.JSchException: Auth fail |I should mention that ssh/sftp works using clients such as putty |or psftp. |Following is the debug trace for sshd: Thank you for your feedback. According to debug lines from sshd, it seems there are problems in getting response sforathe uthentication method 'none'. # By using method 'none', we can know what kinds of auth-methods are # supported on the remote sshd. If your sshd is on DMZ and is accessible from the Internet, may I ask you to allow me to get access to your sshd for debugging? The login access is not required in this case. If it is acceptable, please write me IP-address of that sshd to ym...@jc.... Thanks, -- ymnk |