<?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 hang in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427933#M744679</link>
    <description>Sinjay,&lt;BR /&gt;&lt;BR /&gt;Yes gernerally there is always a process such as a daemon started beforethe exit occurs. I will take a look at the link you provided.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Ray</description>
    <pubDate>Mon, 22 Nov 2004 16:26:06 GMT</pubDate>
    <dc:creator>Ray Brewer</dc:creator>
    <dc:date>2004-11-22T16:26:06Z</dc:date>
    <item>
      <title>ssh hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427931#M744677</link>
      <description>We are having a problem with ssh hanging in the following scenario:&lt;BR /&gt;&lt;BR /&gt;1. Login to server A - either telnet, CDE, etc&lt;BR /&gt;2. ssh to server B - "ssh serverB"&lt;BR /&gt;3. Run a swinstall or launch an application&lt;BR /&gt;4. Exit from server b - either "exit" or "ctrl D"&lt;BR /&gt;&lt;BR /&gt;While exiting server B the terminal session hangs and never returns to the command prompt on server A. You then need to kill the session on server B. After killing the session you are returned to a command prompt on server A. This only happens if you launch a daemon, start an application, or install a new application via swinstall. Other standard commands like cd ,mkdir, cat, etc. work fine. I think it has something to do with associating a process with a tty then trying to exit but am not sure. Any Ideas? Any help would be appreciated?&lt;BR /&gt;Thanks&lt;BR /&gt;Ray</description>
      <pubDate>Mon, 22 Nov 2004 15:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427931#M744677</guid>
      <dc:creator>Ray Brewer</dc:creator>
      <dc:date>2004-11-22T15:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427932#M744678</link>
      <description>Hi Ray,&lt;BR /&gt;&lt;BR /&gt;Did you leave a active process running over there on serverB&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.openssh.com/faq.html#3.10" target="_blank"&gt;http://www.openssh.com/faq.html#3.10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2004 16:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427932#M744678</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-22T16:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427933#M744679</link>
      <description>Sinjay,&lt;BR /&gt;&lt;BR /&gt;Yes gernerally there is always a process such as a daemon started beforethe exit occurs. I will take a look at the link you provided.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Ray</description>
      <pubDate>Mon, 22 Nov 2004 16:26:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427933#M744679</guid>
      <dc:creator>Ray Brewer</dc:creator>
      <dc:date>2004-11-22T16:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427934#M744680</link>
      <description>Sanjay,&lt;BR /&gt;&lt;BR /&gt;Sorry for mis-spelling your name!!&lt;BR /&gt;&lt;BR /&gt;Ray</description>
      <pubDate>Mon, 22 Nov 2004 16:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427934#M744680</guid>
      <dc:creator>Ray Brewer</dc:creator>
      <dc:date>2004-11-22T16:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427935#M744681</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try recent version of HP Secure Shell ( A.03.81.002). I tried out your scenario but it worked correctly for me.&lt;BR /&gt;&lt;BR /&gt;I tried the following&lt;BR /&gt;&lt;BR /&gt;# ssh sonnet&lt;BR /&gt;# sleep 20 &amp;amp;&lt;BR /&gt;[1]     7904&lt;BR /&gt;# exit&lt;BR /&gt;You have running jobs&lt;BR /&gt;# ctrl + D&lt;BR /&gt;logout root&lt;BR /&gt;Connection to sonnet closed.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;M&lt;BR /&gt;logout root&lt;BR /&gt;Connection to sonnet closed.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Dec 2004 07:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427935#M744681</guid>
      <dc:creator>Michael Selvesteen_2</dc:creator>
      <dc:date>2004-12-16T07:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427936#M744682</link>
      <description>That doesn't seem to replicate the problem. If you were to type "ssh sonet 'sleep 20 &amp;amp; exit'" it would hang. Another way to replicate the issue is to ssh sonet, then mwa stop, then mwa start, assuming you have measureware. Then if you try to exit it hangs on me every time. I am running the most recent version of HPUX Secure Shell.</description>
      <pubDate>Wed, 16 Feb 2005 15:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427936#M744682</guid>
      <dc:creator>NMCI Group</dc:creator>
      <dc:date>2005-02-16T15:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427937#M744683</link>
      <description>We found a solution to our problem thanks to a little help from HP. We added this line to the script we were running and it worked to release the session.&lt;BR /&gt;&lt;BR /&gt;exec &amp;gt; /dev/null &amp;lt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is a sample script that illustrates how to place the entry into a script. The return code can be anything you want. We used 3 to help prove we could capture the return code we were looking for. &lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;exec &amp;gt; /dev/null &amp;lt; /dev/null 2&amp;gt;&amp;amp;1 &lt;BR /&gt;&lt;BR /&gt;sleep 30 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;return 3&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Feb 2005 16:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang/m-p/3427937#M744683</guid>
      <dc:creator>Ray Brewer</dc:creator>
      <dc:date>2005-02-16T16:48:12Z</dc:date>
    </item>
  </channel>
</rss>

