Link to home
Create AccountLog in
Avatar of joaotelles
joaotellesFlag for United States of America

asked on

VMware - Restart RedHat in single-mode user

Hi,

We are using VMare with Linux RedHat VM and playing around with sshd_config, ssh daemon doesn't allow remote connectivity anymore. Telnet is also not available.
Basically, we are not able to connect to Linux VM anymore.

The question is: Is there a way to startup the VM in single-user mode? Or is there any other way to get into the VM and resume ssh connectivity?

Tks,
Joao
SOLUTION
Avatar of deviprasad_s
deviprasad_s
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of joaotelles

ASKER

In vSphere cleint, there is no way to start the VM in single-user mode?

Because there is the option to restart the Guest system... but I guess this is a normal restart right?
if you have can see the linux machine Vm booting ,if you can logon the redhat hat system

using the root passwd the you can change the sshd configuration .


or if
you have  vnc set up inthe  server , then you can remotly control the desk top and restore the rhel system .

you get in to sigle usr mode from grub screen by typing  linux =1 ,

and then connecting to any other virtual terminals for trouble shooting .


thanks
s.deviprasad
I could try to Open console but its not working...:

Unalbe to connect to the MKS: internal error

Any suggestion?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Tks!

I have done a tunnel on the ports 902 and 903. An it worked.. Tks!
tks.