Subject: bin/31432: ssh idle timeout
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <zafer@gmx.org>
List: netbsd-bugs
Date: 09/30/2005 19:38:00
>Number:         31432
>Category:       bin
>Synopsis:       ssh idle timeout
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 30 19:38:00 +0000 2005
>Originator:     Zafer Aydogan
>Release:        2.0
>Organization:
>Environment:
i386
>Description:
Whenever I idle on my ssh connection, the connection is closed after 10 Minutes (or a bit longer. couldn't track time exactly).

I can't go make a tea without having the connection dropped.
The Server is running NetBSD 2.0 and sshd:
SSH-2.0-OpenSSH_3.6.1 NetBSD_Secure_Shell-20030917

Neither my IP nor something else changes.
The machine is running default 2.0 confs and is actually running fine.
I noticed this after I checked my logs.
The connection keeps dropping, if you are idle.
I don't know if I am missing something, but if, it should be changed from default to able permanent connections.

I looked into the sshd_config but couldn't find anything important.
I recently read a post from someone complaining about the same problem and also found this post from 2003:
http://mail-index.netbsd.org/netbsd-help/2003/12/26/0001.html



>How-To-Repeat:
login in via ssh and just do nothing on the shell.
after 10-30 minutes the open connection is dead.

if you relogin you will find your dead connection on the previous pty.

>Fix:
yes please.