For myself, I'm lazy, and hate to memorize all these different configurations and such, so I created this:
#!/usr/bin/expect
set USER "hsolo"
set SRVR "falcon.server.net"
set PSWD "secret"
spawn ssh $USER@$SRVR
expect "Password: "
send "$PSWD
"
interact
No comments:
Post a Comment