• 请不要在回答技术问题时复制粘贴 AI 生成的内容
lancegin
V2EX  ›  程序员

ssh permission denied(keyboard-interactive) ?

  •  
  •   lancegin ·
    lancegin · Jul 9, 2016 · 2630 views
    This topic created in 3596 days ago, the information mentioned may be changed or developed.

    服务器使用秘钥登陆时增加了二步验证,尝试连接时却出现了如标题所示的错误。 -v 出来的信息包含

    debug1: Authentications that can continue: publickey
    debug1: Trying private key: MY_KEY
    Authenticated with partial success.
    

    证明秘钥文件的认证是没有错误的,接下来应该就需要进入键盘交互模式输入二步验证码进行验证,然而 log 信息如下:

    debug1: Authentications that can continue: keyboard-interactive
    debug1: No more authentication methods to try.
    Permission denied (keyboard-interactive).
    

    ps ,尝试在其他机器上使用相同方式登录时可以成功,可以排除服务器上的错误。

    pps ,之前没有出现过这样的问题,就是突然从昨天晚上开始报这个错。

    有没有 v 友遇到过相同的问题的??

    2 replies    2016-07-10 09:55:19 +08:00
    lancegin
        1
    lancegin  
    OP
       Jul 9, 2016
    这特么就尴尬了😅,没人遇到么
    Rand01ph
        2
    Rand01ph  
       Jul 10, 2016 via iPhone
    去服务器上看看公钥有没有被篡改
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1257 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 23:38 · PVG 07:38 · LAX 16:38 · JFK 19:38
    ♥ Do have faith in what you're doing.