作为 SFTP 新手,我正在尝试使用 Cygwin 通过我的私钥登录 SFTP 服务器。
但最终我收到了“部分成功验证”消息。这个客户端或服务器相关吗?我可以假设我的私钥有效吗?
debug3: receive packet: type 51
debug1: Authentications that can continue: password,publickey,keyboard-interactive
debug3: start over, passed a different list password,publickey,keyboard-interactive
debug3: preferred publickey
debug3: authmethod_lookup publickey
debug3: remaining preferred:
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/xxx/.ssh/id_rsa
debug3: sign_and_send_pubkey: RSA SHA256:xxxx/wwww/yyy
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
Authenticated with partial success.
答案1
最终,我的 SFTP 提供商发现我的帐户启用了双因素身份验证。
因此,即使我的私钥正确并且通过了,仍然需要额外的步骤才能登录。