VMware ESXI : activer l'accès SSH
Par défaut, l'accès ssh est désactivé et le laisser ouvert n'est pas une solution sûre.
S'il est toujours nécessaire (par exemple, pour transférer des informations vers l'hôte via SCP / rsync), il peut être inclus de la manière suivante :
- allez à l'élément de menu Gestion que vous pouvez trouver dans le menu sur le côté gauche de la page principale.
- Dans la fenêtre qui s'affiche, allez dans l'onglet Services. Vous y trouverez le service SSH et le démarrerez.
Ensuite, vous pouvez vous connecter à l'hôte 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