On Wed 10 Sep 2003 at 12:28:17, john jonas said: > Then I also want to use scp to copy this backup to > another machine. How can I pass a password to scp on > the command line? something like: > > scp /backups/code_backup-[todays date].tar.gz > [EMAIL PROTECTED]/backups/.
You can circumvent the password issue by using ssh-keygen to create a passwordless private/public key pair, and copying the public key to the destination machine. That will let you ssh and scp between machines without using a password. Very handy. -- Soren Harward [EMAIL PROTECTED] ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
