This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "connecting to Unix ssh server" Watch "connecting to Unix ssh server" New topic
Author

connecting to Unix ssh server

junk buster
Greenhorn

Joined: Dec 19, 2006
Posts: 2
Hi,

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
Greenhorn

Joined: Mar 23, 2009
Posts: 3
You can try to look at this:
http://java-source.net/open-source/network-clients

The Ganymed SSH-2 for Java section looks like it could be what you are looking for.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: connecting to Unix ssh server
 
Similar Threads
connecting to UNIX
how to read console output from remote server
to run a unix script
Access unix machine to read and save a file
link about ssh server