Table of Contents

Property TcpKeepAlive

Namespace
SshSharp.Config
Assembly
SshSharp.dll

TcpKeepAlive

TCPKeepAlive: whether the TCP connection has the operating system's keep-alive turned on (SO_KEEPALIVE), which notices a peer that has gone away after the system's idle time (about two hours by default on Linux and Windows). On by default, as in ssh. It is not the SSH-level keep-alive (ServerAliveInterval), which an attacker cannot spoof and which also keeps idle NAT and firewall state alive.

public bool TcpKeepAlive { get; init; }

Property Value

bool