File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes connecting to Unix ssh server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "connecting to Unix ssh server" Watch "connecting to Unix ssh server" New topic

connecting to Unix ssh server

junk buster

Joined: Dec 19, 2006
Posts: 2

i need to connect to unix ssh server and execute some command there and get the output in java back , whcih needs to be shown to the user. How should i do?
t tram

Joined: Mar 23, 2009
Posts: 3
You can try to look at this:

The Ganymed SSH-2 for Java section looks like it could be what you are looking for.
subject: connecting to Unix ssh server
It's not a secret anymore!