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默认关闭了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
网友评论