I can\'t git push/pull to github from my corporate vpn:
git push origin master ssh: connect to host github.com port 22: Connection timed out fatal: The remot
Increase the ssh connection timeout in your machine.
Create ~/.ssh/config file (if it doesn't exist).
Add SSH ServerAliveInterval ServerAliveCountMax settings into the file, eg:
Host * ServerAliveInterval 86400 ServerAliveCountMax 4
Tested on Ubuntu 18.04.4 LTS through vpn.
See more at here