Skip to content
Snippets Groups Projects
Commit f2fdd8eb authored by Felix Fietkau's avatar Felix Fietkau
Browse files

dropbear: add options SSHKeepAlive and IdleTimeout.


Without timeout mechanism, if ssh client disconnected without sending
FIN or RST, forked dropbear servers would hang there for
KEX_RETRY_TIMEOUT seconds (8 hours).

TCP keepalive is not implemented in dropbear yet, thus the name
SSHKeepAlive.

300 seconds in this patch is selected from the default value of
ServerAliveInterval for Debian ssh client (See man ssh_config).

Signed-off-by: default avatarYousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40299
parent dd5a12c5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment