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

How useful was this article?

VAT

  • Other

    Other

    0%
  • austria

    Austria

    20%
  • Belgium

    Belgium

    21%
  • Bulgaria

    Bulgaria

    20%
  • Croatia

    Croatia

    25%
  • Cyprus

    Cyprus

    19%
  • Czech Republic

    Czech Republic

    21%
  • Denmark

    Denmark

    25%
  • Estonia

    Estonia

    22%
  • France

    France

    20%
  • Finland

    Finland

    24%
  • Germany

    Germany

    19%
  • Greece

    Greece

    24%
  • Hungary

    Hungary

    27%
  • Ireland

    Ireland

    23%
  • Italy

    Italy

    22%
  • Latvia

    Latvia

    21%
  • Lithuania

    Lithuania

    21%
  • Luxembourg

    Luxembourg

    17%
  • Malta

    Malta

    18%
  • Netherlands

    Netherlands

    21%
  • Poland

    Poland

    23%
  • Portugal

    Portugal

    23%
  • Romania

    Romania

    19%
  • Slovakia

    Slovakia

    20%
  • Slovenia

    Slovenia

    %
  • Spain

    Spain

    21%
  • Sweden

    Sweden

    25%
  • USA

    USA

    0%
european
states
  • Other
  • canada
  • poland
  • european-union
  • france
  • germany
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria
  • austria