I would like to set up public key authentication with a user other than root. I have created a public/private key pair, which works just fine with root. However after I copied .ssh/authorized_keys to another user's home folder and tried to login with the same private key, login fails. Any pointers on what might be wrong?
Some things I have tried so far
- Set permissions of .ssh/authorized_keys to 0600 and chown to the target user
- Mounted home directory both on /tmp/home/user and /opt/home/user. In the former case flushed authorized_keys to nvram
- Rebooted the router inbetween