Motivated by a previous issue that I had Can not ssh on remote host, I figured out the solution on Super User here, which basically amounts to reducing the MTU size that I have for my ethernet connection. In particular, using a command of the form sudo ifconfig eth0 mtu 1200 up
I was able to ssh to the remote host. However, such a change is not permanent (that is, it is lost after a reboot).
According to the instructions, one should change the file /etc/network/interfaces
and add the line mtu 1200
. I did this, by adding the line right below the ethernet interface, but for some reason it is not read. I have also tried to leave no blank space on the same line, as well as adding 4 spaces and thus indent the command but with no luck in either case.
So, how can we make such a change permanently? Thank you in advance!