Keep SSH session alive while computer sleep? [closed]

I found the answer it depends on tcp keepalive settings: For the list of available TCP settings (FreeBSD 4.8 an up and 5.4): sysctl -A | grep net.inet.tcp net.inet.tcp.keepidle – Amount of time, in milliseconds, that the (TCP) connection must be idle before keepalive probes (if enabled) are sent. net.inet.tcp.keepintvl – The interval, in milliseconds, …

Read more