I’m pretty sure this started happening after I ran fixhome
When the main quickbox user tries to ssh authenticating with public key, they are still prompted with password.
This does not happen for other users.
I have removed the .ssh directory entirely, running ssh-copy-id on the client side to recreate the folders & files needed.
I found the following guide already on the forum:
I adapted the line:
mkdir -p /root/.ssh && chmod 700 /root/.ssh && cd ~/.ssh
to suit the /home/user location.
I still cannot get the damn key to accept.
ssh-v just gives the output:
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/chronos/user/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/chronos/user/.ssh/id_dsa
debug1: Trying private key: /home/chronos/user/.ssh/id_ecdsa
debug1: Trying private key: /home/chronos/user/.ssh/id_ed25519
debug1: Next authentication method: password
I’ve tried multiple computers and generated differnet rsa keys to rule that stuff out.
If I install the keys on another user, they’re fine. It’s just this one user.
at the moment, the .ssh folder permissions are:
-rw------- 1 user user 399 Oct 13 03:50 authorized_keys
The keys file is:
-rw------- 1 user user 399 Oct 13 03:50 authorized_keys
Have any of you seen this before?