ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Hack:   Quick Logins with ssh Client Keys
Subject:   different filenames to note
Date:   2003-04-02 07:46:32
From:   anonymous2
The above procedure didn't work initially on my FreeBSD server. Checking the /etc/ssh/sshd_config file; I noticed that PubkeyAuthentication was a 'no' and
AuthorizedKeysFile was .ssh/authorized_keys .


Not sure if these are defaults, but the former should be yes and the latter should match the filename that's copied from your host to the user's ~/.ssh directory.


(if you change this file, best restart your ssh server, and 'killall -HUP sshd' while logged in remotely might be a BAD way to do that!)


great tip, thanks!


cosmo