dropped connections snippets

Fix disconnecting 3g connection using ssh.

Tagged 3g, dropped connections, ssh tricks  Languages bash

In crowded areas my 3g connection tends to drop. I fixed it by connecting to an outside server using the parameter below. Now ssh is keeping my 3g connection alive by polling the server with one second intervals. The while loop could also be done using autossh

while true; do ssh -o ServerAliveInterval=1 -l marko some.outside.server.tld; done