SSH connection by default is disabled to the VMWare ESXi hosts. We can enable the SSH connection on the ESXi host with following steps:
- Login into ESXi shell with your root credentials. ( How login as root can be known here )
- Open /etc/inetd.conf with vi.
- Look for #SSH by scrolling down or searching the string.
- Un-comment the line by removing "#" by pressing X from your keyboard.
- Save the file.
- Now get the process id of inetd by running command as " ps | grep inetd "
- Run "Kill -HUP
. This would kill the inetd process daemon and inetd is relaunched again. - Now again get the process id of inetd to make sure inetd was lauched again. Now SSH is enabled to the ESXi host. If inetd was not launched, then restart your ESXi host. This would enable the SSH connection upon restart.
Comments
Post a Comment