Raspberry Pi
Disable Wifi power save
If you have Wifi power save enabled, you may experince "hangs" when having an open SSH terminal to the device. You can verify if power save is enabled with:
sudo journalctl | grep brcmfmac:
If it is enabled, you can disable it with:
sudo /sbin/iwconfig wlan0 power off
To make this permanent on boot, add the above line (without sudo) to /etc/rc.local before "exit 0"