diff options
| author | Ahmed Abdelhalim <[email protected]> | 2021-05-23 21:33:11 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2021-05-23 21:33:11 +0200 |
| commit | 0bc2f52f08a927765c5e0e4ead7568d820c16789 (patch) | |
| tree | 8d6d2515dc28f302b695db414a7f5f4b91848f9c /.ssh | |
| parent | e4daf54466567ef354057ae653dccd7c267dd2b8 (diff) | |
Add ServerAliveInterval for flaky VPN connections
This favors keeping alive when the server connection/VPN disconnects for
5 minutes and if a connection is stuck, I can always use `<Enter>~.<Enter>`
command to disconnect
Diffstat (limited to '.ssh')
| -rw-r--r-- | .ssh/config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.ssh/config b/.ssh/config index 4be131d..4676904 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1 +1,4 @@ Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye" + +Host * + ServerAliveInterval 300 |
