From owner-freebsd-questions Tue Jan 18 8:11:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.telestream.com (mail.telestream.com [205.238.4.5]) by hub.freebsd.org (Postfix) with ESMTP id D487414E5F for ; Tue, 18 Jan 2000 08:11:40 -0800 (PST) (envelope-from keith@mail.telestream.com) Received: from localhost (keith@localhost) by mail.telestream.com (8.9.3/8.9.3) with ESMTP id IAA12158; Tue, 18 Jan 2000 08:11:21 -0800 Date: Tue, 18 Jan 2000 08:11:21 -0800 (PST) From: To: mark Cc: freebsd-questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <0001181244430A.25159@itsunix.uwc.ac.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can either use expect to pass the password, use key's to authenticate or use dump to dump the things to a file or device on the remote machine. Keith On Tue, 18 Jan 2000, mark wrote: > > Hello, > > I am a newbie to UNIX ( approx 1.5 months ) and need some help. > > I have 5 Unix machines ( 1 new backup , 4 servers ) and I would now like to > backup the necessary information on the servers. > > I was thinking that I could tar the info on the servers and then scp it to the > backup server at a specified time using the cron daemon. And then for the > backup server to well of cousre back it up using cron as well. > > The problem comes in when I scp it asks for a password. > I am not sure how to use the cron to send a password ( not safe either if > someone gets to see the cron file ) > > The backup server needs to accept password-less scp from my 4 servers only, and > any other admin machines etc, as normal with passwords. > > Do you think that this is the right way to go about it? > Do you have any other ideas? > > Many thanks for your time, > > Mark > Trainee UNIX ADMINISTRATOR > UNIVERSITY OF THE WESTERN CAPE > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message