Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 20:07:34 -0600
From:      Wes Peters <wes@softweyr.com>
To:        jj@cybernex.net.au
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: ssh web site..sorry fixed
Message-ID:  <377192E6.2EB82B02@softweyr.com>
References:  <199906230236.MAA23311@cybernex.net.au> <199906231054.UAA29847@cybernex.net.au>

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




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