This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes jcraft.jsch problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
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://aspose.com/file-tools
 
subject: jcraft.jsch problem
 
Similar Threads
Invoking unix shell commands from java.
Applet to upload files with SCP to
How to connect to Linux using Java code?
com.jcraft.jsch.JSchException: connection is closed by foreign host
Retrieve files from a remote system