SSH failed public key authentication

laci37

I have a server, and I want to be able to SSH in with two different users. I have setup public key authentication for the first user, and it works just fine, however, I can't login with the second user. The difference between the authorized_keys file is that, the second user has two keys(both of them fail when authenticating). Both the .ssh directory and the authorized keys file have 755 permissions. The ssh client sends the key, that I want to authenticate with. What could be the problem?

laci37

I have found this message in /var/log/auth.log:

Oct 22 13:27:58 hagyma sshd[27420]: User userb not allowed because account is locked

I have set a password for userb with sudo passwd userb, and it unlocked the account.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Public Key authentication failed

From Dev

Public Key authentication failed

From Dev

SSH Public Key Authentication

From Dev

ssh public key authentication not working

From Dev

ssh public key authentication not working

From Dev

ssh public key authentication fails

From Dev

ssh no longer allows public key authentication

From Dev

Server with ssh public key authentication with libssh

From Dev

ssh no longer allows public key authentication

From Dev

SSH authentication by public key and password in the same time

From Dev

How to Debug Public Key SSH Authentication Failure

From Dev

Cannot SSH to Windows with public key authentication

From Dev

Heroku - Uploading SSH public key failed

From Dev

Heroku - Uploading SSH public key failed

From Dev

2 Factor Authentication in SSH using public key and PAM

From Dev

2 Factor Authentication in SSH using public key and PAM

From Dev

SSH public key authentication works on LAN and not from WAN

From Dev

Public key SSH authentication broke on all my ubuntu servers

From Dev

SSH Error: No supported authentication methods available (server sent public key)

From Dev

Still getting a password prompt with ssh with public key authentication?

From Dev

SSH Public Key authentication - works only after a physical login

From Dev

scripted ssh should not ask for a password if public key authentication fails

From Dev

SSH-RSA public key authentication explanation needed

From Dev

SSH Public Key - No supported authentication methods available (server sent public key)

From Dev

SSH authentication failed

From Dev

ssh Authentication failed on Mac

From Dev

Invalid public ssh key

From Dev

Invalid public ssh key

From Dev

SSH public key error

Related Related

HotTag

Archive