Plurrrr

Mon 20 May 2019

SSH disconnects and Wi-Fi

In the afternoon I suddenly figured out why my SSH connections to a virtual machine kept getting disconnected despite having the following two lines in my ~/.ssh/config:

ServerAliveInterval 30
ServerAliveCountMax 4

It turned out that the virtual machine still used Wi-Fi to connect to the local network, and because I am quite far away from the router this connection drops regularly. Switching the VM to cabled network interface en0 fixed this issue.