Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 1998 11:44:01 +0000
From:      Martijn Koster <mak@excite.com>
To:        Jos Backus <J.G.E.Backus@urc.tue.nl>
Cc:        Matthew Hunt <mph@pobox.com>, questions@FreeBSD.ORG
Subject:   Re: ssh and scp
Message-ID:  <19980318114401.64487@excite.com>
In-Reply-To: <19980318111124.A13158@asterix.urc.tue.nl>; from Jos Backus on Wed, Mar 18, 1998 at 11:11:24AM %2B0100
References:  <350E6BC8.41C67EA6@wired.ctech.ac.za> <19980317130555.37679@mph124.rh.psu.edu> <19980318111124.A13158@asterix.urc.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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