-- Norberto BENSA <[EMAIL PROTECTED]> spake thusly: > On Sunday 09 March 2003 07:22 pm, Kevin J. Anderson wrote: >> Crap, serves me right for asking then researching... turns out you >> can do this w/ "ssh [EMAIL PROTECTED] command" then it asks for the >> password. Anyway to provide the password in a shell script? ;/ > > If you setup the keys, you don't have to login: i.e., no password > needed.
To put it slightly more clearly, create a key with a blank password or use something like keychain (a nice wrapper around ssh-agent) to only have to enter the password once (per reboot). Keys can be created with ssh-keygen; the public key should be added to .ssh/authorized_keys on the remote server. -- [EMAIL PROTECTED] mailing list
