在服务器上时,我可以使用以下命令登录本地主机:
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.