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:
mc
apt-get update
tmux
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?