[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] rsync question...

You have to setup key based authentication.  In your home directory, on
the machine you are copying from there should be a


directory with a


file in it.

Copy this to
on the remote machine and make sure the directory and file are 700 and
600 respectively.  Now

ssh username hostname 

should log you in without any password.  Note that my local username and
remote user name do not have to be the same once the key is in place.

If you don't have the id_dsa.pub file you can generate one using 

ssh-keygen -t dsa

Do not give a passphrase.

You can also handle passphrased keys using the ssh agent

Jim Wildman, CISSP                                      jim rossberry com

On Fri, 15 Nov 2002, Shawn Powers wrote:

> Sadly, I've even "RTFM"... and this escapes me...
> With the command:
> rsync -a -e ssh source/ username remotemachine com:/path/to/destination/
> how on earth do I get the password to get "fed" into the command, so I 
> could set up a cron job?
> Sorry for the seemingly simple question, but I want to get my backups 
> set up before the weekend, and it's Friday!!!
> Thanks in advance,
> -Shawn
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://listman.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]