in reply to Re: ssh help
in thread ssh help


hi guys... this what i did... i first setup the ssh public and private keys for the 2 servers... so that the passwords are not typed... and then wrapped it in a shell script and ran it on the server i am workin on...
for setting up ssh keys...
SSH Setup

#!/bin/sh scp /users/sword/pars_rem.pl user@remoteserver:/users/sword/tmp/pars_r +em.pl result=$(ssh cuser@remoteserver perl /users/sword/tmp/pars_rem.pl) echo $result ssh user@remoteserver rm /users/sword/tmp/pars_rem.pl

just in case if somebody needs it... thanks again for ur support guys...
thanks.