Configurable properties of SSH Server on ESXi 8.0.2 or later
search cancel

Configurable properties of SSH Server on ESXi 8.0.2 or later

book

Article ID: 408319

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Unable to modify the SSH Server properties by doing direct edits in the "/etc/ssh/sshd_config" file after installing or upgrading to ESX 8.0.2 or later.

  • Provides "esxcli" commands to list SSH Server properties and set property value.

Environment

VMware vSphere ESX 8.0 U2

Resolution

Starting with 8.0.2, a user can modify a subset of SSH Server configuration using "esxcli commands"; hence, direct modification to the /etc/ssh/sshd_config file is no longer supported.

List the available and configurable SSH properties

  • esxcli system ssh server config list

Set a property value

  • esxcli system ssh server config set -k <key/property name> -v <value>

Additional Information

It appears there is no API call available to edit the value for ESX server config “Password Authentication” using PowerCLI.