From owner-freebsd-questions Tue Mar 17 13:05:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14362 for freebsd-questions-outgoing; Tue, 17 Mar 1998 13:05:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14184 for ; Tue, 17 Mar 1998 13:05:23 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id NAA01258; Tue, 17 Mar 1998 13:04:46 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 17 Mar 1998 13:04:46 -0800 (PST) From: Doug White Reply-To: Doug White To: Matthew Hunt cc: Jacques Hugo , questions@FreeBSD.ORG Subject: Re: ssh and scp In-Reply-To: <19980317130555.37679@mph124.rh.psu.edu> 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 On Tue, 17 Mar 1998, Matthew Hunt wrote: > On Tue, Mar 17, 1998 at 02:25:44PM +0200, Jacques Hugo wrote: > > > Can scp be automated that it can read the passwd from > > a user on a trusted host? I would like to scp -r > > directories during the night from one box to another. > > If you want a user on one machine (which I'll call "client") to > be able to ssh (or scp) into another box ("server") without supplying > a password, take these steps: > > Make sure that ~/.ssh/identity.pub exists on client. It is normally > there, as long as you have used ssh before. > If it doesn't exist, run `ssh-keygen' and create a new key with an empty passphrase. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message