リモートでSSHにログインできません

リモートでSSHにログインできません

サーバーにいる間は、次を使用してlocalhostにログインできます。

ssh localhost    
username@localhost's password:  
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.11.0-40-generic x86_64)

ただし、リモートでログインしようとすると、次のメッセージが表示されます。

ssh 1.2.3.4 -l username
[email protected]'s password:
Permission denied, please try again.

パスワードは絶対に正確です。

編集:クライアントログインに詳細を追加しましたが、パスワードを入力した後の出力です。

debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.

ベストアンサー1

おすすめ記事