[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting up user keys in sshd.
On Thu, 27 Jun 2002, Joe Kellner wrote:
> I've read over the faqs, the man pages, and various howto's, and I still
> cannot figure out how this problem.
> I want to make it so sshd requires a key from the person connecting, which
> matches the key for that user on the system.
>
> I added
> HostKey /etc/ssh/ssh_host_dsa_key
> PubkeyAuthentication yes
> AuthorizedKeysFile .ssh/authorized_keys
>
> to /etc/ssh/sshd_conf, and created id_dsa.pub and id_dsa, but I'm at a loss
> of what to do next.
What version of ssh are you using? And exactly what problem are you
experiencing? You don't state what errors you're getting, or what
is not behaving as you expect.
The config options you've specified are the defaults in 3.4. This should
be sufficient to allow users to connect using keys, rather than passwords.
If you wish to disallow password-based connections, you need to set
"PasswordAuthentication no" in sshd_config, as described in sshd_config(5).
[ Dave Taira <bodhi@hagakure.org> 2002.06.27/20:26:16 PDT ]
[ Morlock for Hire ]
[ %SYSTEM-F-TOOEARLY, please contact your sysadmin at a sensible time. ]