coolair
V2EX  ›  问与答

升级到 OpenSSH 9.9 以后,默认使用 key 不能自动登录了,还是提示需要密码,是哪里变更了需要再配置吗?

  •  
  •   coolair · Dec 26, 2024 · 2410 views
    This topic created in 682 days ago, the information mentioned may be changed or developed.
    4 replies  •  2024-12-26 10:02:57 +08:00
    DonaidTrump
    DonaidTrump
    Dec 26, 2024
    1
    默认变成 id_ed25519 了?
    ohmycodeape
    ohmycodeape
    Dec 26, 2024
    2
    可能是服务器密码套件版本过低 可以链接时主动指定 ssh -o PubkeyAcceptedAlgorithms=+ssh-rsa -o HostkeyAlgorithms=+ssh-rsa 试试看
    mingtdlb
    mingtdlb
    Dec 26, 2024
    3
    信息不足,,日志贴出来。
    superrichman
    superrichman
    Dec 26, 2024❤️1
    4
    你的密钥太旧,已经被废弃。需要用新的算法重新生成密钥。上面提到的 ssh-rsa 就是被废弃了的,你应该用 ed25519
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1671 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 02:50 · PVG 10:50 · LAX 18:50 · JFK 21:50
    ♥ Do have faith in what you're doing.