Hi,
I'm succesfully connecting with Jsch to our ssh jump server.
From there I would like to run a ssh cmd. I'm able to run simple commands like "ls" but get the following errors if I run "ssh hostX ls" (where hostX is a valid ip).
System.err﹕ Permission denied, please try again.
System.err﹕ Permission denied, please try again.
System.err﹕ Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
System.out﹕ exit-status: 255
System.err﹕ Permission denied, please try again.
System.err﹕ Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
System.out﹕ exit-status: 255
It works using putty.
How would I run a coammnd like this?
Thanks,
Michael
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users