Manage SSH access for the root user
search cancel

Manage SSH access for the root user

book

Article ID: 388649

calendar_today

Updated On:

Products

VMware SDDC Manager VMware vSphere ESXi

Issue/Introduction

Enable / disable SSH access for root user.

Cause

SSH access is managed by Photon OS.

- These are not vSphere configurations.

Resolution

  1. Edit the /etc/ssh/sshd_config file.
  2. Set PermitRootLogin to the desired state (yes / no) and save the changes. See sshd_config(5) — Linux manual page.
  3. Restart the sshd service.
    • systemctl restart sshd