[Sussex] SCP - setup problem

Richie Jarvis richie at helkit.com
Fri May 6 13:27:17 UTC 2005


Brendan Whelan wrote:
> Richie,
> 
> Thanks for the quick response and sorry to everyone for the multiple
> messages.
> The secure log states:
> Authentication refused: bad ownership or modes for file
> /home/bu/.ssh/authorized_keys
> There is then an entry to state that it accepted the manually enter
> password.
> 
> The authorized_keys file is owned by my bu users and has permissions
> rwxrwxrwx i.e. as open as I can make them!
> Any suggestions?
> 
> Thanks, Brendan
Yup - SSH requires that the permissions on the authorized_keys file be 
as restrictive as possible - 600 does the trick for me.

That should work then.

Cheers,

Richie




More information about the Sussex mailing list