Photon OS连不上SSH的解决办法
2019-02-02 本文已影响0人
singed
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