about summary refs log tree commit diff
path: root/content/sw-notes/ssh-timeout.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/sw-notes/ssh-timeout.md')
-rw-r--r--content/sw-notes/ssh-timeout.md20
1 files changed, 0 insertions, 20 deletions
diff --git a/content/sw-notes/ssh-timeout.md b/content/sw-notes/ssh-timeout.md
deleted file mode 100644
index fdb53d9..0000000
--- a/content/sw-notes/ssh-timeout.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: "How to prevent SSH timeout from hanging your terminal"
-date: 2025-03-17
-draft: true
-lang: en
-categories: [ blog ]
-tags: []
-translationKey: "ssh-timeout"
----
-
-Sometimes, I open an SSH session and then forget about it. When I get back to it, it hangs indefinitely, without a way to close it other than closing the terminal.
-
-To avoid this, add this to the client config:
-
-```sshconfig
-Host *
-        ServerAliveInterval 100
-```
-
-If you're disconnected from the SSH server, you'll get this message `Timeout, server example.com not responding.` and the connection is terminated.