美文网首页
Photon OS连不上SSH的解决办法

Photon OS连不上SSH的解决办法

作者: singed | 来源:发表于2019-02-02 08:59 被阅读0次

    Photon OS默认关闭了Root SSH登陆。
    编辑sshd_config。

    vi /etc/ssh/sshd_config
    

    设置PermitRootLogin为Yes后重启ssh服务就可以登陆了。

    systemctl restart sshd
    

    参考链接:
    https://github.com/vmware/photon/wiki/Frequently-Asked-Questions#q-why-cant-i-ssh-in-as-root

    相关文章

      网友评论

          本文标题:Photon OS连不上SSH的解决办法

          本文链接:https://www.haomeiwen.com/subject/kmtssqtx.html