Content

VMware ESXI enable SSH access

By default, ssh access is disabled and keeping it open is not a secure solution.

If it is still necessary (for example, it is required to transfer information to the host via SCP / rsync), then it can be included in the following way:

  • go to the Management menu item which you can find in the menu on the left side of the main page.
  • In the window that appears, go to the Services tab. There you can find the SSH service and start it.

After that, you can connect to the host via SSH

$ ssh root@62.*.*.*
The authenticity of host '62.*.*.* (62.*.*.*)' can't be established.
RSA key fingerprint is SHA256:MRcbP8UbHeDM5eqlbMo1uitsXvU0yHhK3bqgiU/lGa4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '62.*.*.*' (RSA) to the list of known hosts.
Password:
The time and date of this login have been sent to the system logs.

WARNING:
All commands run on the ESXi shell are logged and may be included in
support bundles. Do not provide passwords directly on the command line.
Most tools can prompt for secrets or accept them from standard input.

VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.

The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.

[root@cloud3:~] uname -a
VMkernel cloud3.local 6.7.0 #1 SMP Release build-8169922 Apr 3 2018 14:48:22 x86_64 x86_64 x86_64 ESXi