Koozali.org: home of the SME Server

ssh access

Christian Frabel

ssh access
« on: October 23, 2001, 10:32:23 PM »
Dear all,
I am not able to connect on an e-smith server using ssh with pair keys (i.e. without usinf passwd). A verbose ssh option shows that the system claims that the "authorized_keys" file has wrong ownership or mods !!
Need help

Robin Dunn

Re: ssh access
« Reply #1 on: October 24, 2001, 01:41:55 AM »
Read the man page.  

The permissions on the files in the user's .ssh directory must not be readable or writeable by anyone other than the user.  Usually I just do something like:

    chmod 700 ~/.ssh
    chmod 600 ~/.ssh/*

--Robin

Christian Frabel

Re: ssh access
« Reply #2 on: October 24, 2001, 02:06:09 AM »
Do you think it's enough to explain why I can't login ?

Christian Frabel

Re: ssh access
« Reply #3 on: October 24, 2001, 02:16:03 AM »
You are right. that works fine. Thank you