Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.