Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2002 10:37:52 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Darren Pilgrim <dmp@pantherdragon.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How do I get SSH to not ask for my password?
Message-ID:  <20020512103752.A29162@grimoire.chen.org.nz>
In-Reply-To: <3CDD9588.96ED7F2D@pantherdragon.org>; from dmp@pantherdragon.org on Sat, May 11, 2002 at 03:04:56PM -0700
References:  <3CDD9588.96ED7F2D@pantherdragon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 11, 2002 at 03:04:56PM -0700, Darren Pilgrim wrote:
> The other day I saw a machine with SSH set up in such a way that it
> didn't ask for a password, even though there was a password on the shell
> account the user was connecting to.  How is this done?

On the local machine, generate a "identity" and "identity.pub" file using
ssh-keygen. (You don't need to do this if you already have it.) Put the
contents of "identity.pub" into the remote machine's ~/.ssh/authorized_hosts
file.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                                         "Nyuck, nyuck, nyuck" - Curly

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020512103752.A29162>