Re: tcp_keepalive
Rob Braun <[email protected]> Sun, 24 Apr 2005 06:40:44 -0700
| Newsgroups | gmane.os.opendarwin.general |
|---|---|
| Message-ID | <[email protected]> |
>From an application level, the following values in sshd_config affect keepalives: KeepAlive yes ClientAliveInterval 30 ClientAliveCountMax 999999 See the sshd_config(5) man page for documentation. Alternatively, you can set it in the client side ssh_config: KeepAlive yes See the ssh_config(5) man page for documentation. Additionally, you can set things globally by modifying kernel sysctl values: net.inet.tcp.keepidle: 144000 net.inet.tcp.keepintvl: 1500 net.inet.tcp.keepinit: 1500 net.inet.tcp.always_keepalive: 0 Rob On Sat, Apr 23, 2005 at 02:10:00PM -0700, Barry Schiffman wrote: > Can someone tell me how I can change the tcp_keepalive > values? I assume that darwin and the Mac OS overlap > here. > > I need to change these to stop my DSL router from > dumping my ssh connection after 10 minutes. I can do > this in Redhat by changing the values in the three > ipv4 tcp_keepalive files, but clearly the details are > different here. > > Thanks in advance > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Discuss mailing list > [email protected] > http://www.opendarwin.org/mailman/listinfo/discuss