极其奇怪的 OpenSSH 消息

极其奇怪的 OpenSSH 消息

我正在尝试在 Windows 服务器上使用 freesshd 进行公钥身份验证。我正在使用 OpenSSH 登录。

但是,我在 OpenSSH 中收到这个奇怪的错误:

debug1: Offering DSA public key: /home/ithisa/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-dss blen 433
debug2: input_userauth_pk_ok: fp 7b:1c:53:e7:80:2b:08:b5:96:e0:08:a1:df:6f:79:df
debug3: sign_and_send_pubkey: DSA 7b:1c:53:e7:80:2b:08:b5:96:e0:08:a1:df:6f:79:df
debug1: read PEM private key done: type DSA
debug1: Authentications that can continue: password,publickey
debug1: Trying private key: /home/ithisa/.ssh/id_ecdsa
debug3: no such identity: /home/ithisa/.ssh/id_ecdsa: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
user@host's password:

如您所见,服务器“接受”了我的 DSA 密钥,但仍然默默地验证失败。我做错了什么?

答案1

debug1: Trying private key: /home/ithisa/.ssh/id_ecdsa
debug3: no such identity: /home/ithisa/.ssh/id_ecdsa: No such file or directory

似乎找不到您的私钥。请确保您正在连接的系统上存在私钥,并且文件名与预期相符。

相关内容