Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2001 09:40:52 -0400
From:      "Dave VanAuken" <dave@hawk-systems.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   ssh and rsync between freebsd boxes
Message-ID:  <DBEIKNMKGOBGNDHAAKGNMELLFDAA.dave@hawk-systems.com>
In-Reply-To: <002001c0d23e$4f4a7960$0202000a@katmai>

next in thread | previous in thread | raw e-mail | index | archive | help
running into a problem that is starting to get annoying.

trying to rsync a single file over ssh so identicle copies are stored
on each server

/usr/local/file.name

according to documentation on varius sites and resources the
proceedure should bethe following:

generate ssh key (for root) with blank password on hostmachine
copy ssh key to target system's /root
make .ssh directory and copy to .ssh/authorized_keys
chmod the .ssh/authorized_keys file to 600
from host machine rsync to the target machine
	rsync -v file.name machine.dom:/usr/local/

problem is am getting asked for root@hostmachine.dom's password
entering the correct root password doesn't work, but then again root
login is disabled so I would expect this.

have tried a number of permutations of the above, resulting in
similar, or equaly useless results.

anyone have a quick drill down of commands to establish the ssh
connection, and rsync the file.  Thinking that creating a "rsync"
user, generating keys for them, and trying that route.

Thanks

Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNMELLFDAA.dave>