Free version of ESXi do have ssh service available but its disabled by default.
Goto your ESXI server, At the console , press ALT-F1 ,
Type unsupported in the console and then press Enter. The text typed will not be show over the screen, so be careful while typing , If you typed in unsupported correctly, you will see the password prompt.
Now Enter the password for the root login.
# You should then see the prompt of ~ #
Now we need to Edit the file inetd.conf in order to enable ssh service, Open it in vi editor
vi /etc/inetd.confFind the lines that begins with #ssh and remove the #
Then save the file.
by pressing ESC and type in :wq ,
Once you’ve closed the vi editor, you can either restart the esxi server
OR
Restart the inetd process only by following steps.
To restart inetd run , we first need to find the pid of inetd process by following command
ps | grep inetdThe output of the above ps command will be something like
4886 4886 busybox inetdthe process ID in this example is 4886. Now run
kill -HUP 4866Now try to login to your ESXI 4.0 via putty or any other ssh client, Hopefully It will work fine
Tidak ada komentar:
Posting Komentar