summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2003-06-01 10:45:19 +0000
committerJonas Smedegaard <dr@jones.dk>2003-06-01 10:45:19 +0000
commitab644abb8d729bf10c304f701650facb1a776933 (patch)
treedd628bca37573e99ae3eec82d25d1abe66c0bd4c
parent95ed51e692cc6f212e7eb6c5050416e86bed0f30 (diff)
Enable ProtocolKeepAlive on remote connections.
-rwxr-xr-xxsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/xsh b/xsh
index 1e66121..caf5b8b 100755
--- a/xsh
+++ b/xsh
@@ -87,7 +87,7 @@ fi
titleopt="[$HOST]"
if [ $HOST != "localhost" ]; then
- ssh_opts="-C $ssh_opts"
+ ssh_opts="-C $ssh_opts -o ProtocolKeepAlives=300"
fi
# Pause for a moment if verbose