通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
Vinty
V2EX  ›  VPS

阿里云 root 的 ssh 证书的一点小问题

  •  
  •   Vinty · Aug 16, 2017 · 642 views
    This topic created in 3281 days ago, the information mentioned may be changed or developed.
    第一次设置用的阿里云控制面板生成的证书登录的 ssh,然后添加了一个自定义 ssh 端口,22 端口未禁,顺便新建了一个用户
    重启 sshd 之后,重连发现 root 账户一直显示证书被拒绝,22 端口和自定义端口都是证书被拒绝
    用非 root 用户登录 ssh 之后,重新给 root 生成了 ssh 证书,试了一下还是证书被拒绝
    然后我就禁用了 root 登录 ssh,也没管了,反正就是搭个梯子,也不知道会有没有什么问题
    2 replies    2017-08-17 09:43:58 +08:00
    akwIX
        1
    akwIX  
       Aug 16, 2017
    没用创建机器时阿里自己的生成。自己密码登录后生成 key 未遇此问题
    Vinty
        2
    Vinty  
    OP
       Aug 17, 2017
    @akwIX 多谢,下次我也直接先用密码登录了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5445 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:25 · PVG 16:25 · LAX 01:25 · JFK 04:25
    ♥ Do have faith in what you're doing.