aspose file tools
The moose likes Java in General and the fly likes jcraft.jsch problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "jcraft.jsch problem" Watch "jcraft.jsch problem" New topic
Author

jcraft.jsch problem

peter kos
Greenhorn

Joined: Oct 18, 2011
Posts: 1
Hi i try to ssh remote server and execute few commands however i noticed that i cannot execute root commands. I get password message on the console and everything hangs.

Any idea how i can do this ?

My code is
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: jcraft.jsch problem
 
Similar Threads
Applet to upload files with SCP to
Retrieve files from a remote system
com.jcraft.jsch.JSchException: connection is closed by foreign host
Invoking unix shell commands from java.
How to connect to Linux using Java code?