From owner-freebsd-questions Wed Mar 18 13:12:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21865 for freebsd-questions-outgoing; Wed, 18 Mar 1998 13:12:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mn26hp6.honeywell.com (mn26hp6.honeywell.com [129.30.4.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21519 for ; Wed, 18 Mar 1998 13:12:02 -0800 (PST) (envelope-from sleas@mn26hp6.honeywell.com) Received: from localhost by mn26hp6.honeywell.com with SMTP (1.40.112.4/16.2) id AA177035398; Wed, 18 Mar 1998 15:09:58 -0600 Date: Wed, 18 Mar 1998 15:09:58 -0600 (CST) From: Shawn Leas To: Jos Backus Cc: Matthew Hunt , questions@FreeBSD.ORG Subject: Re: ssh and scp In-Reply-To: <19980318111124.A13158@asterix.urc.tue.nl> 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 Wed, 18 Mar 1998, 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? > > > 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? You are forgetting, opnly you have the secret key needed to make the public key useful. That is, if ssh uses a public/private key approach. Shawn > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message