Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I've been asked to continue installation of a freshly installed Debian system. I can log in there through SSH with no problems. But the connection hangs every time the remote shell sends an escape character. For example, all these commands hang the connection:

apt-get update

etc. But when I avoid console UI, it works, like in

apt-get update | cat

Any idea what could be the cause, or what should I investigate?

share|improve this question

After all, problem wasn't related to escape characters, but to network in general. Altering MTU seems to fix the problem. Probably when a console UI was started, it transferred too large packet. See also Why does SCP hang on copying files larger than 1405 bytes?.

share|improve this answer

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.