It's not a secret anymore!
The moose likes Sockets and Internet Protocols and the fly likes connecting to UNIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "connecting to UNIX " Watch "connecting to UNIX " New topic

connecting to UNIX

vaibhav more

Joined: Mar 31, 2010
Posts: 10
I want to make a SSH connection to an UNIX server using JAVA.. I want to run the commands of unix though JAVA and retrive the output. I dont want to use JSCH.. Please guide me.

Nothing is "I M Possible"
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Why don't you want to use an existing library? Sounds like you're trying to reinvent the wheel.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
I agree. Here's the link:
subject: connecting to UNIX
It's not a secret anymore!