From owner-freebsd-questions  Wed Mar 18 02:12:02 1998
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id CAA23633
          for freebsd-questions-outgoing; Wed, 18 Mar 1998 02:12:02 -0800 (PST)
          (envelope-from owner-freebsd-questions@FreeBSD.ORG)
Received: from mailhost.tue.nl (mailhost.tue.nl [131.155.2.5])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA23464
          for <questions@FreeBSD.ORG>; Wed, 18 Mar 1998 02:11:40 -0800 (PST)
          (envelope-from J.G.E.Backus@urc.tue.nl)
Received: from asterix.urc.tue.nl [131.155.5.10] by mailhost.tue.nl (8.8.8)
	  id LAA09884 (ESMTP). Wed, 18 Mar 1998 11:11:36 +0100 (MET)
Received: from jbackus@localhost by asterix.urc.tue.nl (8.8.8) 
	  id LAA13836. Wed, 18 Mar 1998 11:11:31 +0100 (MET)
Message-ID: <19980318111124.A13158@asterix.urc.tue.nl>
Date: Wed, 18 Mar 1998 11:11:24 +0100
From: Jos Backus <J.G.E.Backus@urc.tue.nl>
To: Matthew Hunt <mph@pobox.com>
Cc: questions@FreeBSD.ORG
Subject: Re: ssh and scp
References: <350E6BC8.41C67EA6@wired.ctech.ac.za> <19980317130555.37679@mph124.rh.psu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.90.9
In-Reply-To: <19980317130555.37679@mph124.rh.psu.edu>; from Matthew Hunt on Tue, Mar 17, 1998 at 01:05:55PM -0500
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

	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?

> 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?

I must be missing something here, but what?

-- 
Jos Backus                     _/  _/_/_/        "Reliability means never
                              _/  _/   _/         having to say you're sorry."
                             _/  _/_/_/                -- D. J. Bernstein
                        _/  _/  _/    _/
jbackus@urc.tue.nl      _/_/   _/_/_/             use Std::Disclaimer;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message