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

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 ifconfig en0 mtu 576” in a server shell. It has nothing to do with ssh or Apple or MacOS.

Published by

Daniel Lemire

A computer science professor at the University of Quebec (TELUQ).

One thought on “If your ssh connection times out when you ask for the content of a directory…”

Leave a Reply

Your email address will not be published. The comment form expects plain text. If you need to format your text, you can use HTML elements such strong, blockquote, cite, code and em. For formatting code as HTML automatically, I recommend tohtml.com.

You may subscribe to this blog by email.