Skip to content
Luca Dell'Oca Principal Cloud Architect @Veeam
Virtual To The Core Virtual To The Core

Virtualization blog, the italian way.

  • Media
  • About me
Virtual To The Core
Virtual To The Core

Virtualization blog, the italian way.

Abilitare SSH su ESXi

Luca Dell'Oca, December 27, 2008December 4, 2016

Come molti di voi avranno scoperto dopo aver installato ESXi, non è possibile accedere da remoto a questa versione tramite una connession ssh.

Dal momento però che alcune operazioni risultano comode tramite questo strumento, così come la lossiblità di caricare/scaricare files dal server via scp (una su tutte il backup delle virtual machines tramite remote console) vediamo allora come abilitare le connessioni ssh.

NB: le connessioni ssh su ESXi non sono ufficialmente supportate da vmware

1. Dalla console di ESXi premere ALT+F1 per accedere alla console

2. Digitare “unsupported” e premere invio. A video non comparirà nulla quindi bisogna digitare “alla cieca”

3. Se avete digitato il comando correttamente, vi comparirà una console denominata “Tech Support Mode” e vi verrà richiesta la password dell’utente root

4. Editate il file /etc/inetd.conf attraverso vi (vi /etc/inetd.conf)

5. Cercate la linea che inizia con “#ssh” e rimuovete il # iniziale. Salvate il file così modificato e uscite

6. Se state usando ESXi 3.5 Update 2 o successivi, eseguite ps | grep inetd e controllate il pid del processo inetd. Se ad esempio il valore dovesse essere 1451, eseguite kill -HUP 1451 per riavviare inetd con ssh finalmente abilitato.

Se state utilizzando una versione precedente di ESXi, beh aggiornatelo 🙂 Trovate le modalità in questo articolo.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
Tecnologia esxisshvmware

Post navigation

Previous post
Next post

Search

Sponsors

Latest Posts

  • Migrate WSL (Windows Subsystem for Linux) to a new computer
  • Pass keystrokes to a pfSense virtual machine to install it automatically
  • Automatically deploy pfSense with Terraform and Ansible
  • My Automated Lab project: #6 Create a S3 Bucket with Terraform
  • My Automated Lab project: #5 Deploy a Linux vSphere VM with Terraform and custom disks
©2025 Virtual To The Core | WordPress Theme by SuperbThemes
We use cookies to ensure that we give you the best experience on our website, and to collect anonymous data regarding navigations stats using 3rd party plugins; they all adhere to the EU Privacy Laws. If you continue to use this site we will assume that you are ok with it.OkNoPrivacy Policy