Paul, Atsuhiko, Thanks for the clarification!
On Tue, Nov 29, 2011 at 10:18 AM, Atsuhiko Yamanaka <y...@jcraft.com> wrote: > Try > http://www.jcraft.com/jsch/examples/Exec.java > This example works for me. But I'm really confused now. Why does my trivial program not work? See: http://paste.opensuse.org/view/raw/38335832 The output is: ---8<--- promptYesNo: The authenticity of host 'localhost' can't be established. RSA key fingerprint is e9:da:52:8f:7d:21:d5:0a:f4:6f:c1:b8:e8:70:84:b7. Are you sure you want to continue connecting? com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:464) at com.jcraft.jsch.Session.connect(Session.java:158) at SshTest.<init>(SshTest.java:58) at SshTest.main(SshTest.java:69) --->8--- -- Thanks, //richard ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users