auto login and logout

Karpowicz, Theresa terryk at enterasys.com
Fri Jun 28 22:32:29 EST 2002


I am a test engineer, testing SSH server implementation of SSH into one of
our switches.
 
 
How can I  automate the login and logout of an SSH client from the command
line?
I have in a script file the following, but I get prompted for the password.
How can I automate the password and the exit.
 
 
ssh2 -l $1 $2   (ssh2 -l <username> <host ip>)
 
 
 
Theresa C. Karpowicz
Software Engineer


Enterasys Networks
Phone:  (800) 332-9401 x41263
Email:   terryk @enterasys.com <mailto:terryk at enterasys.com> 
www:    http://www.enterasys.com/ <http://www.enterasys.com/> 


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020628/77605fa4/attachment.html 


More information about the openssh-unix-dev mailing list