From owner-freebsd-questions Tue May 1 6:39:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hawk-systems.com (hawk-systems.com [161.58.152.235]) by hub.freebsd.org (Postfix) with ESMTP id 3230037B422 for ; Tue, 1 May 2001 06:39:40 -0700 (PDT) (envelope-from dave@hawk-systems.com) Received: from server0 ([204.50.168.20]) by hawk-systems.com (8.8.8) id HAA10981 for ; Tue, 1 May 2001 07:39:39 -0600 (MDT) From: "Dave VanAuken" To: Subject: ssh and rsync between freebsd boxes Date: Tue, 1 May 2001 09:40:52 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <002001c0d23e$4f4a7960$0202000a@katmai> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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