Friday, September 19, 2008

Enable ssh on ESX host

By default SSH is disabled on ESX hosts and we have to enable SSH. Setting to be done.
Open sshd_config file:

# vi /etc/ssh/sshd_config
Find out line that read as follows:
PermitRootLogin no
Set it as follows:
PermitRootLogin yes

Save and close the file. Restart the sshd:
# /etc/init.d/sshd restart

1 comment:

sentania said...

ssh logins are enabled by default, but just not for root!

I'm not positive, but I think you can make this change without restarting sshd also!

Hope things are going good vikash.