Enable / disable SSH access for root user
5.2.x
SSH access is managed by Photon OS.
/etc/ssh/sshd_config
PermitRootLogin
yes
no
sshd
systemctl restart sshd