[LIP] script to automatic login

alok bharti <alok_mact-/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Dear LIP,

how to write a script (perl,shell or awk) for
automatic login to remote host (do something on remote
host and come back).

I could do it with 'ssh' with public key setup.
still not useful .. i had to give password on prompt
for the first time when i was setting up the public
key for remote host.
then onwards it wont prompt.

I want to avoid prompt for passwd. (even for the first
time)
can a script enter the password automatically and
login to remote host.

Please help..

Alok



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.