<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSH TIMEOUT SESSION in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113060#M149145</link>
    <description>Secure shell will respond to the TMOUT variable in the environment. That means if you leave the session idle at a command line it will timeout after the number of seconds in TMOUT if its set.&lt;BR /&gt;&lt;BR /&gt;If its not set, then its got to be the firewall getting you.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Sat, 08 Nov 2003 18:50:16 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-11-08T18:50:16Z</dc:date>
    <item>
      <title>SSH TIMEOUT SESSION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113057#M149142</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm trying to connect from my workstation to an HP-UX 11 server using ssh. &lt;BR /&gt;Between my pc and the server hpux there is a firewall.&lt;BR /&gt;It works, but after sometimes the connection broke down.&lt;BR /&gt;&lt;BR /&gt;I tryed to set TMOUT parameter in /etc/profile to 36000 value, but the problem is not solved.&lt;BR /&gt;I would like to know something about the "KeepAlive" parameter on /opt/etc/ssh/sshd_config.&lt;BR /&gt;If is not a router/firewall problem, can this parameter ("KeepAlive") solve my problem related to timeout?&lt;BR /&gt;&lt;BR /&gt;In that case Which is the correct syntax to restart and reload configuration file in sshd daemon?&lt;BR /&gt;I think "kill -sighup &lt;PID_OF_SSHD_SERVICE&gt;"... Is it correct?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Andrea&lt;BR /&gt;&lt;/PID_OF_SSHD_SERVICE&gt;</description>
      <pubDate>Fri, 07 Nov 2003 03:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113057#M149142</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2003-11-07T03:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: SSH TIMEOUT SESSION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113058#M149143</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you can use &lt;BR /&gt;kill -SIGHUP &lt;PID&gt;&lt;BR /&gt;kill -HUP &lt;PID&gt;&lt;BR /&gt;kill -1 &lt;PID&gt;&lt;BR /&gt;stop and restart daemon also works.&lt;BR /&gt;&lt;BR /&gt;The other problem, look at man sshd:&lt;BR /&gt;----------------------------------------&lt;BR /&gt;KeepAlive&lt;BR /&gt;Specifies whether the system should send keepalive messages to the other side. If they are sent, death of the connection or crash of one of the machines will be properly noticed. However, this means that connections will die if the route is down temporarily, and some people find it annoying. On the other hand, if keepalives are not sent, sessions may hang indefinitely on the server, leaving ``ghost'' users and consuming server resources. &lt;BR /&gt;----------------------------------------&lt;BR /&gt;&lt;BR /&gt;If you have "KeepAlive no" sshd do not disconnect sessions due to network problems.&lt;BR /&gt;&lt;BR /&gt;Maybe your problem deals with the following (man sshd):&lt;BR /&gt;&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ClientAliveInterval&lt;BR /&gt;Sets a timeout interval in seconds after which if no data has been received from the client, sshd will send a message through the encrypted channel to request a response from the client. The default is 0, indicating that these messages will not be sent to the client. This option applies to protocol version 2 only. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ClientAliveCountMax&lt;BR /&gt;Sets the number of client alive messages (see above) which may be sent without sshd receiving any messages back from the client. If this threshold is reached while client alive messages are being sent, sshd will disconnect the client, terminating the session. It is important to note that the use of client alive messages is very different from Keepalive (below). The client alive messages are sent through the encrypted channel and therefore will not be spoofable. The TCP keepalive option enabled by Keepalive is spoofable. The client alive mechanism is valuable when the client or server depend on knowing when a connection has become inactive. &lt;BR /&gt;&lt;BR /&gt;The default value is 3. If ClientAliveInterval (above) is set to 15, and ClientAliveCountMax is left at the default, unresponsive ssh clients will be disconnected after approximately 45 seconds. &lt;BR /&gt;&lt;BR /&gt;----------------------------------------&lt;BR /&gt;&lt;/PID&gt;&lt;/PID&gt;&lt;/PID&gt;</description>
      <pubDate>Fri, 07 Nov 2003 04:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113058#M149143</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2003-11-07T04:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSH TIMEOUT SESSION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113059#M149144</link>
      <description>Hi Andrea,&lt;BR /&gt;&lt;BR /&gt;Remember that many firewalls are set to chop idle sessions after say 90 minutes. This is to prevent users leaving sessions open and going home etc.&lt;BR /&gt;&lt;BR /&gt;I wouldn't describe this as a firewall "problem" as vendors see this as an extra security feature.&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Nov 2003 14:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113059#M149144</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2003-11-08T14:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSH TIMEOUT SESSION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113060#M149145</link>
      <description>Secure shell will respond to the TMOUT variable in the environment. That means if you leave the session idle at a command line it will timeout after the number of seconds in TMOUT if its set.&lt;BR /&gt;&lt;BR /&gt;If its not set, then its got to be the firewall getting you.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 08 Nov 2003 18:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113060#M149145</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-08T18:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: SSH TIMEOUT SESSION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113061#M149146</link>
      <description>f the KeepAlive or ClientAliveInterval don't resolve your problem.  I've had very good luck with a utility named spinner.  It's available at &lt;A href="http://www.laffeycomputer.com/spinner.html." target="_blank"&gt;http://www.laffeycomputer.com/spinner.html.&lt;/A&gt;&lt;BR /&gt;I haven't compiled this under HPUX, but it may work for you.&lt;BR /&gt;&lt;BR /&gt;Installed on the remote host it will send a stream of characters that will provide activity to hold the connection.&lt;BR /&gt;&lt;BR /&gt;I normally use "spinner -nT".  It doesn't interfere with the display and does a great job of holding a connection.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Nov 2003 19:47:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-timeout-session/m-p/3113061#M149146</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2003-11-08T19:47:52Z</dc:date>
    </item>
  </channel>
</rss>

