Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] rsync syntax
  • From: Carl Hartung <suselinux@xxxxxxxxxxxxx>
  • Date: Sun, 24 Dec 2006 19:57:45 -0500
  • Message-id: <200612241957.45761.suselinux@xxxxxxxxxxxxx>
On Sunday 24 December 2006 17:06, Mike Noble wrote:
> One more thing on this is ssh will require you to enter your passwd. This
> does not work with trying to automate (running from cron). To fix this
> on the local machine (machine sync'ing from) you want to setup ssh
> keys, this can be don with the following command:
> ssh-keygen -t dsa
> (just enter return for all questions)
> Now you want to copy the key to the remote machine.
> cd ~/.ssh
> scp <remote machine>:/home/user/.ssh
> ssh into the remote machine
> cd .ssh
> cat >> authorized_keys
> (NOTE: make sure the home directory does not allow other write
> permission (best to prevent group as well) or ssh will see this as
> a security issue and will not work).
> Now if you exit out, and if you ssh into the remote machine again you
> will not be asked for a password.

Thanks Mike!

This also worked like a charm!

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >