<div dir="ltr">Yeah maybe I will look into firewall settings and see if it kills sessions after a certain time period<br><br>Well, after the script on the Linux box completes the master script running on the Unix box then scp&#39;s the data back to the Unix box via the ssh connection. So I am sure there is a way to work around it but really hoping to find the actual issue with the connection timeout. Luckily the long connection periods only happen once in a while when large volumes of data is processed so it is not a daily nuisance.<br>
<br>-Simon<br><br><div class="gmail_quote">On Mon, Aug 4, 2008 at 9:18 AM, Michael Robbert <span dir="ltr">&lt;<a href="mailto:mrobbert@gmail.com">mrobbert@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Can you keep an interactive session open for longer than 2 hours? The firewall may be cutting off all connections at a given time, that is pretty restrictive, but possible. The first thought though, and it looks like you&#39;ve already thought of it, is that the connection is getting dropped due to inactivity. I haven&#39;t played much with the keep alive option in SSH so I&#39;ll leave that to somebody else to answer, but my question would be if there is no traffic over the connection then does it really need to stay open. Can you start up the process on the Linux box and let it run in the background? If it is producing data you can write that to disk and retrieve it later.<br>

Just a thought for a work around.<br><br>Good Luck,<br>Mike Robbert<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Mon, Aug 4, 2008 at 8:45 AM, siblog <span dir="ltr">&lt;<a href="mailto:tehsiblog@gmail.com" target="_blank">tehsiblog@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c"><div dir="ltr">I have been wrestling with a ssh timeout issue and can&#39;t seem to find an answer that is working for me. Some important details are.....The connection is between a HP-UX Unix server and a Ubuntu Linux server. The Unix server is behind a firewall and the Linux server is outside of the firewall. I can&#39;t alter the /etc/ssh/sshd_config files on either server but do have .ssh/config files that I have been playing within the users directory on both servers. <br>


<br>As far as the process and issue....I basically have a script that is ssh&#39;ing from the Unix server into the Linux server and kicking off another script that runs on the Linux server. Based on the volume of data the script is processing on the Linux server it sometimes takes up to three hours to run. At around the 1.5 - 2 hour mark the ssh connection fails with a timeout error. I have been trying many different things with the users .ssh/config file including adding &quot;KeepAlive yes&quot; entries as well as playing with &quot;ClientAliveInterval&quot;, &quot;ClientAliveCountMax&quot;, &quot;ServerAliveInterval&quot; and &quot;ServerAliveCountMax&quot;. Does anyone know what I could be missing or what could be going wrong?<br>


<br>Thanks,<br><br>-Simon<br></div>
<br></div></div>--<br>
Ubuntu-us-co mailing list<br>
<a href="mailto:Ubuntu-us-co@lists.ubuntu.com" target="_blank">Ubuntu-us-co@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-co" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-co</a><br>
<br></blockquote></div><br></div>
<br>--<br>
Ubuntu-us-co mailing list<br>
<a href="mailto:Ubuntu-us-co@lists.ubuntu.com">Ubuntu-us-co@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-co" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-co</a><br>
<br></blockquote></div><br></div>