Monday, May 26th, 2008

If your ssh connection times out when you ask for the content of a directory…

Filed under: Science and Technology — Daniel Lemire @ 21:10

I have had no end of trouble connecting by ssh to my main Mac Pro. Whenever I would type “ls -1″ in a directory containing many files, the connection would time out. This problem came and went away periodically. Owen pointed me to a sane explanation which has to do with evil firewalls. It looks like I solved my problems (for now) by typing “sudo sudo ifconfig en0 mtu 576″ in a server shell. It has nothing to do with ssh or Apple or MacOS.

1 Comment »

  1. sudo sudo is a powerful magic word in unix administration. It works for most problems.

    Comment by Eran — 27/5/2008 @ 8:35

RSS feed for comments on this post.

Leave a comment

Warning: When entering a long comment, please ensure that you make copy of your text prior to submitting it. If the server should fail or if you hit a bug, you might lose your work. I am not responsible for your lost effort.

To spammers: I carefully review every single post and make sure that spam gets deleted. You are wasting your time if you are manually entering spam using this form. Read my terms of use to see what I consider to be abusive.

Example: I + II + IX= XII. Yes, you have to enter a roman numeral. (Answer must be in upper case.)

« Blog's main page

29 queries. 0.532 seconds. Valid XHTML

Powered by WordPress

Subscribe to this blog in a reader or by Email.