Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

When I try to connect from a remote computer that is not in the local network via ssh I get into trouble...

When I try to execute a TUI application it hangs and I cant do anything... I type ./menu and then nothing happens. However this program runs with no problem when connecting with ssh with a local IP (another computer in the local network).

But this 100% same program is installed also on another computer. When connecting via ssh to the other computer with a remote IP I get no problem!

I increased the MTU value of my router

share|improve this question
What is TUI? Terminal User Interface? Is that the same as CLI (Command Line Interface)? – Tshepang Jan 18 '11 at 12:03
text user interface.. the old kind of programs – GorillaApe Jan 18 '11 at 12:35
up vote 3 down vote accepted

Seems like broken PMTUD. Check MTU an all involved computers and use ping -D to determine which maximum packet size can be transmitted over path to remote host.

share|improve this answer
the computer that works with no problem has blocked ICMP so ping doesnt work! THe other computer that has ping enabled has the problems... ping -D sends 64 byte.. i should try changing this ? – GorillaApe Jan 18 '11 at 12:38
First ensure that just ping works. Then start trying ping -D with increasing packet size. Stop at the moment where answers do not come back to you, add 28 (IP+ICMP header size) to last working value to calculate actual path MTU. – gelraen Jan 18 '11 at 12:44
-D adds timestamp... i am trying to increase packet size with -s but i dont get anything different... only the first time it says about fragmentation... – GorillaApe Jan 18 '11 at 12:52

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.