lost and found ( for me ? )

How to enable an SSH access on ESXi

ESXi doesn’t have service console ,
however ESXi has a few linux commands.
By default settings , ESXi doesn’t allow you to login via SSH , you can however enable an SSH access by doing the following procedures.

Note that: this procedure is unsupported.

1. press Alt + F1
2. you will see black screen
3. type unsupported ( you can’t see anything when typing , but it’s expected. )
4. you will be required to enter root password , so enter root password
5. edit /etc/inetd.conf with vi editor. comment out ssh line as below.

- /etc/inetd.conf

# Remote shell access
#
ssh     stream  tcp     nowait  root    /sbin/dropbearmulti     dropbear  ++min=0,swap,group=shell -i -K60

6. reboot ESXi
7. you will login ESXi via SSH

~ # uname -a
VMkernel localhost.localdomain 4.0.0 #1 SMP Release build-208167 Nov  8 2009 01:02:11 x86_64 unknown

 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.