Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On an SSH terminal, there is a command that takes over the terminal window, and it says I can press escape to end it.

My SSH terminal does not handle the escape key. What is the escape sequence (Ctrl+something) that I can use in its place. (or is there one)

I can just disconnect from SSH and connect again but I thought I would go ahead check if there was an escape sequence for the escape key. Would that even work?

share|improve this question
What SSH/terminal program is that? Seems very strange the it wouldn't handle the escape key. – ak2 Jul 23 '11 at 18:39
Turns out that although Iain's answer is correct, it was not the cause of the problem. It was actually the SSH server on the out of band management. It works on Serial, but not SSH. And the SSH client does indeed handle the escape key. – George Bailey Jul 23 '11 at 19:57
up vote 5 down vote accepted

I think it's Ctrl + [ ( ^[ ).


share|improve this answer
Aka the ASCII escape character‌​. – ak2 Jul 23 '11 at 18:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.