From: Bruce S. <bw...@ar...> - 2004-11-07 00:28:17
|
Put the authorized_keys in the $HOME/.ssh/ directory instead of under /etc i.e. /root/.ssh/authorized_keys And make sure the .ssh subdirectory has 700 permissions. If you are doing root, everything will be saved with save-config Works for me! :-) - BS > I was trying to set up passwordless authentication in > ssh to my Devil-Linux Server. The public-keys are > stored in /shm/etc/ssh/authorized-keys. But it didn't > work and I got this notice: > sshd: Authentication refused: bad ownership or modes > for directory /shm > > Changing the permissions for the directory /shm from > 777 to 755 solves the problem. How can I resolve this > permantly without building a new CD? > Does the change of the admission rights influence the > running system? |