From owner-freebsd-security Wed Jun 23 19: 8:28 1999 Delivered-To: freebsd-security@freebsd.org Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id 5620014EDA for ; Wed, 23 Jun 1999 19:08:25 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id TAA17079; Wed, 23 Jun 1999 19:07:37 -0700 (PDT) Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id TAA01944; Wed, 23 Jun 1999 19:07:37 -0700 Received: from softweyr.com (dyn2.utah.xylan.com) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA26232; Wed, 23 Jun 99 19:07:34 PDT Message-Id: <377192E6.2EB82B02@softweyr.com> Date: Wed, 23 Jun 1999 20:07:34 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: jj@cybernex.net.au Cc: freebsd-security@FreeBSD.ORG Subject: Re: ssh web site..sorry fixed References: <199906230236.MAA23311@cybernex.net.au> <199906231054.UAA29847@cybernex.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jacob Rhoden wrote: > > i misread the man pages, i was puting the filename of the key, not > the actual key in the "autorized_keys" file. I setup ssh by following the instructions mailed to me when I became a FreeBSD committer. I've included the instructions here. As you can see, they are exhaustive. ;^) 7.0. SSH quick-start guide -------------------------- 1. Update and install the ssh port in /usr/ports/security/ssh (should be version 1.2.25 or later). 2. Make sure that you run ssh-agent before running other applications. X users, for example, usually do this from their .xsession file. See ssh-agent(1) for details. 3. Generate a key pair using ssh-genkey(1). The key pair will wind up in the $HOME/.ssh directory. 4. Copy your public key ($HOME/.ssh/identity.pub) into your ``authorized_keys'' file in your home directory on the freefall (i.e. $HOME/.ssh/authorized_keys). 5. Now you should be able to use ssh-add(1) for authentication once per session. This will prompt you for your private key's pass phrase, and then store it in your authentication agent (ssh-agent) so that you won't have to retype it over and over. 6. Test by doing something such as ``ssh freefall.freebsd.org ls /usr''. For more information, see /usr/ports/security/ssh and ssh(1), ssh-agent(1), scp(1) and ssh-keygen(1). -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message