アカウントがロックされているため、sshはログインを許可しません。sshを介した公開キー認証のためにサーバー上のユーザーのロックを解除したいのですが、パスワードによるログインを有効にしません。
私はもう試した:
# passwd -u username
passwd: unlocking the password would result in a passwordless account.
You should set a password with usermod -p to unlock the password of this account.
認証ログエントリ:
Mar 28 00:00:00 vm11111 sshd[11111]: User username not allowed because account is locked
Mar 28 00:00:00 vm11111 sshd[11111]: input_userauth_request: invalid user username [preauth]
passwd -u
悪い考えです。Giles bellowの回答をご覧ください。