VMware Cloud Community
jobee1
Enthusiast
Enthusiast
Jump to solution

Can't exit remote ESXi shell

Hey all, I was just trying to update my ESXi hosts and I've hit a snag -- I neglected a closing " at the end of the update command. The command never ran and now I can't exit the shell. I accessed this host using a program called mRemoteNG that I use for all of my remote server access and I use the SSH v2 protocol for accessing my VMware devices.

I've tried quit, exit, Quit, Exit, CTRL-C, CTRL-Z, ESC and repeatedly pounding on my keyboard. I Googled this and found nothing so I'm guessing it's a simple key combination for people who have been using VMware longer than I have. SO, how do I exit the shell?

Thanks,

Joe B

0 Kudos
1 Solution

Accepted Solutions
jobee1
Enthusiast
Enthusiast
Jump to solution

Fixed it. Well, kind of. I used PuTTY to log in again, ran ps -N --tree | grep ssh and found two sshd sessions. I chose the larger... PID, killed it and I'm ready to go. 

Hopefully someone will find this when they are in the same situation.

Joe B

View solution in original post

0 Kudos
1 Reply
jobee1
Enthusiast
Enthusiast
Jump to solution

Fixed it. Well, kind of. I used PuTTY to log in again, ran ps -N --tree | grep ssh and found two sshd sessions. I chose the larger... PID, killed it and I'm ready to go. 

Hopefully someone will find this when they are in the same situation.

Joe B

0 Kudos