[CentOS] 2 SSH questions

Tue Jan 10 22:45:07 UTC 2006
Paul Heinlein <heinlein at madboa.com>

On Tue, 10 Jan 2006, Maciej ?enczykowski wrote:

> the server file /home/username/.ssh/authorized_keys must contain a 
> line containing /home/username/.ssh/id_dsa.pub (use ssh-keygen -t 
> dsa to generate it)

Further, you must ensure that, on the remote machine into which you're 
attempting to login,

a) $HOME is not group-writeable or world-writeable

b) $HOME/.ssh has 0700 permissions

c) $HOME/.ssh/* have 0600 permissions

(Actually, there are some $HOME/ssh/* files that can have looser 
permissions than 600, but they all work with 0600, so that's the way I 
keep them.)

-- 
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com