Mike Egglestone: > Hi... > I would like to be able to run a crontab where I could "scp" some files > to a remote location....but so no user input for passwords is > needed... > Could some point me to where I could find info > on how to do this? > Thanks for your time! > > Mike > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
This is quite simple. Just run ssh-keygen and an empty passphrase. By default the key generated will be put in .ssh/identify.pub copy the line into the .ssh/authorized_keys into the home folder of target machine, and you should be able to ssh and scp into the target machine without password. man ssh-keygen and man ssh should give further help if needed. Bjarne