Manage SSH access for the root user
search cancel

Manage SSH access for the root user

book

Article ID: 388649

calendar_today

Updated On: 04-16-2025

Products

VMware SDDC Manager

Issue/Introduction

Enable / disable SSH access for root user 

Environment

5.2.x

Cause

SSH access is managed by Photon OS.

Resolution

  • Edit the /etc/ssh/sshd_config file
  • Set PermitRootLogin to the desired state (yes / no) and save the changes See sshd_config
  • Restart the sshd service
    • systemctl restart sshd