1. Java library for interactive SSH session (to be able to do multi-part commands)? stackoverflow.comI'm currently using a library for SSH within Java but it seems to be lacking the ability to do multipart commands (such as if I do |
2. Jsch - One Session Multiple Channels stackoverflow.comI managed to execute a single command through ssh with Jsch but when i try to execute a second command it fails For debugging i brought this problem down to this lines:
|
3. How do I change directory (cd) with Ganymed SSH API? stackoverflow.comI must be missing something here, but how do I call something like "cd /root/some/dir/" with Ganymed SSH API?
|
4. Help with start a ssh session using java forums.oracle.comHi all, I need to write a small java program to do the automate task. However, I couldn't get pass the first command in the task. The program is supposed to read back the question for password from the system. However, I always got nothing when run it. Any help or advice? import java.io.InputStream; import java.io.OutputStream; import java.io.DataInputStream; import java.io.FileOutputStream; import ... |