Content

VMware ESXI abilita l'accesso SSH

Per impostazione predefinita, l'accesso ssh è disabilitato e tenerlo aperto non è una soluzione sicura.

Se è ancora necessario (ad esempio, per trasferire informazioni all'host tramite SCP / rsync), è possibile includerlo nel modo seguente:

  • andare alla voce di menu Gestione, che si trova nel menu a sinistra della pagina principale.
  • Nella finestra che appare, andare alla scheda Servizi. Qui si può trovare il servizio SSH e avviarlo.

Dopodiché, è possibile connettersi all'host tramite 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