6.0.3

Table Of Contents
Upload an SSH Key Using HTTPS PUT
You can use authorized keys to log in to a host with SSH. You can upload authorized keys with HTTPS PUT.
Authorized keys allow you to authenticate remote access to a host. When users or scripts try to access a host
with SSH, the key provides authentication without a password. With authorized keys you can automate
authentication, which is useful when you write scripts to perform routine tasks.
You can upload the following types of SSH keys to a host using HTTPS PUT:
n
Authorized keys le for root user
n
DSA key
n
DSA public key
n
RSA key
n
RSA public key
I Do not modify the /etc/ssh/sshd_config le.
Procedure
1 In your upload application, open the key le.
2 Publish the le to the following locations.
Type of key Location
Authorized key files for the root
user
https://hostname_or_IP_address/host/ssh_root_authorized_key
s
You must have full administrator privileges on the host to upload this le.
DSA keys
https://hostname_or_IP_address/host/ssh_host_dsa_key
DSA public keys
https://hostname_or_IP_address/host/ssh_host_dsa_key_pub
RSA keys
https://hostname_or_IP_address/host/ssh_host_rsa_key
RSA public keys
https://hostname_or_IP_address/host/ssh_host_rsa_key_pub
Using the ESXi Shell
The ESXi Shell, which was formerly referred to as Tech Support Mode or TSM, is disabled by default on
ESXi. You can enable local and remote access to the shell if necessary.
Enable the ESXi Shell for troubleshooting only. The ESXi Shell can be enabled or disabled when the host is
running in lockdown mode. The host running in lockdown mode does not prevent you from enabling or
disabling the ESXi Shell. See vSphere Security.
ESXi Shell
Enable this service to access the ESXi Shell locally.
SSH
Enable this service to access the ESXi Shell remotely by using SSH. See
vSphere Security.
The root user and users with the Administrator role can access the ESXi Shell. Users who are in the Active
Directory group ESX Admins are automatically assigned the Administrator role. By default, only the root
user can execute system commands (such as vmware -v) by using the ESXi Shell.
N Do not enable the ESXi Shell until you actually need access.
Chapter 5 Securing ESXi Hosts
VMware, Inc. 201