On Thursday 17 March 2005 08:10, Sanjay katiyar wrote: > As I supply password for user tomcat it connects to > the remote server and start showing $ prompt. > If I logged off from remote machine then it lost the > connection and next command is not executed. > > Actully I even dont want to supply passward manully, > Is there any way to automate all these steps in a > script file? Look here http://marc.theaimsgroup.com/?l=redhat-list&m=105060028415011&w=2 for setting up SSH key for password-less login. Then you can use the script as suggested by Albert Smith to do the rest. RDB -- Reuben D. Budiardja Dept. Physics and Astronomy University of Tennesse, Knoxville, TN -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++ ------END GEEK CODE BLOCK------ -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list