Windows 成功执行 ssh 但 Manjaro 没有执行 (publickey)

Windows 成功执行 ssh 但 Manjaro 没有执行 (publickey)

我有一台 Raspberry Pi,我可以使用 Windows 登录它。该.ssh/known_hosts文件是空的。但是,使用 Manjaro(全新安装)时,我收到以下错误:

pi@raspberrpi: Permission denied (publicKey)

这似乎是该论坛上一个相当常见的问题,但所有其他答案要么得到反对票,要么对我不起作用。

这是相关输出ssh pi@raspberrypi --vv

debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/mark/.ssh/id_rsa
debug1: Trying private key: /home/mark/.ssh/id_dsa
debug1: Trying private key: /home/mark/.ssh/id_ecdsa
debug1: Trying private key: /home/mark/.ssh/id_ed25519
debug1: Trying private key: /home/mark/.ssh/id_xmss
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
pi@raspberrypi: Permission denied (publickey).

相关内容