On Thursday 05 of December 2013 10:34:02 John Aldrich wrote:
Quoting "Carlos \"casep\" Sepulveda"
<casep(a)fedoraproject.org>:
> On 5 December 2013 11:59, Paweł Sikora <pawel.sikora(a)agmk.net> wrote:
>> Hi all,
>>
>> i've recently reinstalled my previous distro with fc20-beta and observing
>> strange ssh tunels disconnection. i'm establishing tunels in this way:
>>
>> ssh -2fCN -p ${non-default port} -L
>> ${local_port}:${endpoint}:{$endpoint_port}
>> ${login}@${gatE}.
>>
>> after some time (mostly few minutes) all unused ssh tunels die.
>> any ideas?
>
> Hi:
> What about launching the ssh with -vvv or similar?
> It looks like the ConnectTimeout parameter wasn't working properly.
>
> Kind regards
Or, maybe you need a "keep-alive" signal to keep the tunnel open? It's
basically just a matter of sending a ping or two every couple minutes.
ok, i've found a difference between default fc20 installation and my previous
distro. the /etc/ssh/ssh_config in fc20 doesn't contain following options:
ServerAliveInterval 60
ServerAliveCountMax 10
TCPKeepAlive no
--
gpg key fingerprint = 60B4 9886 AD53 EB3E 88BB 1EB5 C52E D01B 683B 9411