How to get SSH access in ESX 3.5....
run putty and point it to the IPaddressof the ESX host, unless you have lowered the permission and allowed remote root access you will need to create a standard user with remote access privledges. you can do this either via the VIC client or at the console.
once logged on you will need to run su - root to gain eleviated rights
Tom Howarth
VMware Communities User Moderator
run putty and point it to the IPaddressof the ESX host, unless you have lowered the permission and allowed remote root access you will need to create a standard user with remote access privledges. you can do this either via the VIC client or at the console.
once logged on you will need to run su - root to gain eleviated rights
Tom Howarth
VMware Communities User Moderator
Hi,
if you want to logon as root directly over ssh,
you have to edit
the file: /etc/sshd/sshd_config
Change the line
PermitRootLogin no
to
PermitRootLogin yes
then save and restart the sshd daemon with
/etc/init.d/sshd restart
hth,
Reinhard.
ps: Award points if you find answers helpful. Thanks.
If you are trying to login is a root but want to maintain an audit trail - you can login as a regular user and then run the su - command you will be asked the for the root password - this will give you root level access
Your post has been moved to the ESX Server 3.5 Configuration forum
Dave Mishchenko
VMware Communities User Moderator
/etc/init.d/sshd restart
Has this command changed in 3.5? I use service sshd restart for 3.0.2 ... does that still work for 3.5 or is the /etc/init.d/sshd restart the way to do it (for future reference)
- Kyle
yes it will still work in 3.5
You should use Veeam's EnableRootAccess product which I've used extensively. It's faster than going thru the command line of each ESX host in your farm.
http://www.veeam.com/vmware-esx-server/root_access/
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!
I wwould suggest you use SSH-Keys to login..much easier and much saver
see
http://paul.messinthecorner.com/2008/ssh-access-as-root-to-your-esx-35-server/