From owner-freebsd-questions Wed Mar 18 03:47:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA17538 for freebsd-questions-outgoing; Wed, 18 Mar 1998 03:47:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailgate.greenhills.co.uk (mailgate.greenhills.co.uk [195.11.194.180]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA17510 for ; Wed, 18 Mar 1998 03:47:37 -0800 (PST) (envelope-from mak@greenhills.co.uk) Received: (qmail 27644 invoked by uid 982); 18 Mar 1998 11:44:01 -0000 Message-ID: <19980318114401.64487@excite.com> Date: Wed, 18 Mar 1998 11:44:01 +0000 From: Martijn Koster To: Jos Backus Cc: Matthew Hunt , questions@FreeBSD.ORG Subject: Re: ssh and scp References: <350E6BC8.41C67EA6@wired.ctech.ac.za> <19980317130555.37679@mph124.rh.psu.edu> <19980318111124.A13158@asterix.urc.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: <19980318111124.A13158@asterix.urc.tue.nl>; from Jos Backus on Wed, Mar 18, 1998 at 11:11:24AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 18, 1998 at 11:11:24AM +0100, Jos Backus wrote: > Hi Matthew, > > On Tue, Mar 17, 1998 at 01:05:55PM -0500, Matthew Hunt wrote: > > Make sure that ~/.ssh/identity.pub exists on client. It is normally > > there, as long as you have used ssh before. > > identity.pub contains my public key, right? Yes. > > Append the contents of that file to ~/.ssh/authorized_keys on server. > > If that file doesn't exist, create it with the contents of client's > > identity.pub. > > What prevents somebody from storing my public key in his ~/.ssh/identity.pub > and logging into server as me? The fact that only _you_ have your private key (~/.ssh/identity), with which you essentially prove the corresponding public key is yours. So guard your private key... -- Martijn Koster, m.koster@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message