"the permissions on ~/.ssh and ~/.ssh/authorized_keys must be secure
enough so that other users cannot see the contents"

After looking at auth.log, I get
    Authentication refused: bad ownership or modes for directory /home/username
So, I removed w and x from my main folder for group and others, which made it 
work, but before I changed that, the .ssh folder had no permissions for group 
or others, and I changed authorized_keys so that group and others also had no 
permissions for group and others.

So, by what you said, the permissions for .ssh/ and authorized_keys were
satisfied, but it still failed because it required the users main
folder. Should this behaviour of also expecting certain permissions for
the users main folder be considered a bug? Is it documented anywhere?

-- 
ssh autologin fails to work
https://bugs.launchpad.net/bugs/669338
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to