Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
connecting to Unix Remote server using SSH
Joined: Sep 26, 2003
Aug 20, 2005 14:56:00
i have an requirement where i need to connect to the Remote server (Unx box) using SSH. Once i have logged in i need to go to the specific directory and execute a script.
I have difficulty in how to connect to Remote Host using SSh thorugh
. Basically i need the system command to do it..CAnu please help me in this thing ..
Author and all-around good cowpoke
Joined: Mar 22, 2000
Aug 23, 2005 07:00:00
I found several references to Java libraries that support SSH and SSH2 by means of a Google search. For example:
Joined: Nov 18, 2000
Aug 30, 2005 08:59:00
See the following article:
In particular you may wish to look at the Ssh/SshScript and SshSession classes found in SSH Factory which allow you to write scripted ssh sessions.
rocket mass heater
subject: connecting to Unix Remote server using SSH
If I wanted to connect and read files from remote unix box using java application
Connection to registry on a remote host
Connecting to telnet server from ssh server
How to run remote command from a JSP
Host not found using pscp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013