snipt

Ctrl+h for KB shortcuts

Bash

How to prevent SSH sessions to die for timeout

1
2
3
Add this in /etc/ssh_config

ServerAliveInterval 60
https://snipt.net/embed/e4eb3f3ad970026754d8f3e83e926dc1/
/raw/e4eb3f3ad970026754d8f3e83e926dc1/
e4eb3f3ad970026754d8f3e83e926dc1
bash
Bash
3
2019-07-26T20:00:29
True
False
True
Jun 14, 2013 at 10:06 AM
/api/public/snipt/38062/
come-non-far-morire-le-sessioni-ssh-aggiungendo-questa-riga-in-etcssh_config
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Add this in /etc/ssh_config </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>ServerAliveInterval 60 </span></pre></div> </td></tr></table>
ssh