Yes, I have that SSH setting already in place. However, all the other connections (SQL, ORACLE, LDAP, etc.), all close after 1 minutes of inactivity. That's why I'm trying to get this script working for all those other programs and connections to the server...
Thank you anyway though. If you have any other ideas I'd love to hear them! Anne -----Original Message----- From: Tim Spriggs [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 10:42 PM To: Anne Moore Cc: 'David Lloyd'; opensolaris-discuss@opensolaris.org Subject: Re: [osol-discuss] ipfilter and tcp timeouts - painful Hello Anne, SSH has a setting (man sshd_config) for sending keep alive packets. Search for "TCPKeepAlive" Thanks, -Tim Anne Moore wrote: > Hello David > > Thanks for the code. Unfortunately, it doesn't work as it is. It just > continually pings forever, and it interferes with the command line by > always showing "64 bytes from ip.domain.com: icmp...." forever. Thus, > the user can't type anything. > > Any others ideas I've love to hear about them. > > Thank you! > > Anne > > -----Original Message----- > From: David Lloyd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 12, 2007 6:25 PM > To: Anne Moore > Cc: opensolaris-discuss@opensolaris.org > Subject: Re: [osol-discuss] ipfilter and tcp timeouts - painful > > Annew, > > Anne Moore wrote: > >> HI All, I'm running 25 Opensolaris boxes in my business and since we >> put in a new firewall all of our connections (remotely) to the >> OpenSolaris boxes disconnection after 1 minute of inactivity. If >> there is activity, it does not disconnect. >> >> We can't change firewall, unfortunately. But I was hoping there was >> some way to send keep-alives via the IPfilter (or something) else to >> keep my inactive sessions alive. It's causing us a major problem, so >> I'm >> > stuck. > >> >> Is there anyway on OpenSolaris you know of to keep connections to the >> server alive? >> > > #!/bin/sh > > while [ 1 ]; ping some.ip.com; sleep 60; do > > # end of script > > DSL > > _______________________________________________ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org