Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Christian Frabel on October 23, 2001, 10:32:23 PM

Title: ssh access
Post by: Christian Frabel 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
Title: Re: ssh access
Post by: Robin Dunn 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
Title: Re: ssh access
Post by: Christian Frabel on October 24, 2001, 02:06:09 AM
Do you think it's enough to explain why I can't login ?
Title: Re: ssh access
Post by: Christian Frabel on October 24, 2001, 02:16:03 AM
You are right. that works fine. Thank you