V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
heyjude321
V2EX  ›  macOS

mac 连接服务器被拒, Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

  •  
  •   heyjude321 · 2022-01-01 21:10:06 +08:00 · 1554 次点击
    这是一个创建于 817 天前的主题,其中的信息可能已经有所发展或是发生改变。

    请教,macbook m1 连接服务器时输入用户名后,未显示输入密码,直接报错:Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). 用我这个 macbook 的其他用户是可以登陆成功的,其他电脑也是可以登陆成功的,唯独我这台 macbook 的其中一个用户不能登陆成功。 当时是上午还能成功连接,下午就连不了了。当时装了个 xcode-select ,和这个有关吗? 是不是我这个用户被服务器拉黑了?

    heyjude321
        1
    heyjude321  
    OP
       2022-01-01 21:37:56 +08:00
    已解决。。sourcetree 在 .ssh 文件夹下生成了一些 key ,把这个文件删除就可以了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1876 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:26 · PVG 00:26 · LAX 09:26 · JFK 12:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.