From owner-freebsd-questions Wed Mar 18 03:56:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18526 for freebsd-questions-outgoing; Wed, 18 Mar 1998 03:56:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wired.ctech.ac.za (wired.ctech.ac.za [155.238.4.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18519 for ; Wed, 18 Mar 1998 03:56:22 -0800 (PST) (envelope-from jacques@wired.ctech.ac.za) Received: from wired.ctech.ac.za (localhost [127.0.0.1]) by wired.ctech.ac.za (8.8.7/8.8.7) with SMTP id NAA16882 for ; Wed, 18 Mar 1998 13:55:50 +0200 (SAT) (envelope-from jacques@wired.ctech.ac.za) Message-ID: <350FB646.2781E494@wired.ctech.ac.za> Date: Wed, 18 Mar 1998 13:55:50 +0200 From: Jacques Hugo X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: 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> <19980318114401.64487@excite.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Martijn Koster wrote: > > 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... Your permission on that file, and sshd will still challenge you with a password. -Jacques ------------------------------------------------------ The box said "Requires Windows 3.1 or better" ... so I got BSD Network Administrator | Jacques Hugo UNIX Systems | jacques@wired.ctech.ac.za Cape Technikon | +27-21-4603584 ------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message