<?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 hanging with nohup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243502#M174092</link>
    <description>yes now, it is the case.&lt;BR /&gt;&lt;BR /&gt;before the modification on sleep.sh (append the follow  &amp;lt; /dev/null &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp; )&lt;BR /&gt;i received the command prompt after 10 seconds.&lt;BR /&gt;&lt;BR /&gt;Now, i receive the command prompt immediatly.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Apr 2004 08:09:43 GMT</pubDate>
    <dc:creator>ANDRE David</dc:creator>
    <dc:date>2004-04-08T08:09:43Z</dc:date>
    <item>
      <title>ssh hanging with nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243498#M174088</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I use ssh.&lt;BR /&gt;When i try to execute a script shell with nohup 'command' &amp;amp;, the ssh is hanging.&lt;BR /&gt;( it seem waiting the end of process )&lt;BR /&gt;&lt;BR /&gt;I tried nohup sleep 10 &amp;amp;&lt;BR /&gt;the ssh is terminated after 10 sec.&lt;BR /&gt;&lt;BR /&gt;How can i detach a process with nohup and ssh ?&lt;BR /&gt;regards. &lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2004 07:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243498#M174088</guid>
      <dc:creator>ANDRE David</dc:creator>
      <dc:date>2004-04-08T07:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hanging with nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243499#M174089</link>
      <description>Can you post the script?&lt;BR /&gt;&lt;BR /&gt;In your script what exactly you do?&lt;BR /&gt;Something like -- ssh host "command"&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 08 Apr 2004 07:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243499#M174089</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-08T07:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hanging with nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243500#M174090</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;the command is :&lt;BR /&gt;&lt;BR /&gt;ssh -l i2admin b5ora2 /I2/Test/test.sh&lt;BR /&gt;&lt;BR /&gt;on test.sh, i have :&lt;BR /&gt;nohup sleep.sh &amp;amp;&lt;BR /&gt;&lt;BR /&gt;on sleep.sh i have &lt;BR /&gt;sleep 10&lt;BR /&gt;&lt;BR /&gt;The ssh is waiting the end of sleep.sh&lt;BR /&gt;&lt;BR /&gt;So, i have the solution :&lt;BR /&gt;&lt;BR /&gt;on sleep.sh :&lt;BR /&gt;sleep 10 &amp;lt; /dev/null &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; ssh is terminated immediatly.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 08 Apr 2004 07:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243500#M174090</guid>
      <dc:creator>ANDRE David</dc:creator>
      <dc:date>2004-04-08T07:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hanging with nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243501#M174091</link>
      <description>ssh -l i2admin b5ora2 /I2/Test/test.sh&lt;BR /&gt;&lt;BR /&gt;With that you should get command prompt after test.sh ends. (after 1- sec) Is that the case?&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 08 Apr 2004 07:44:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243501#M174091</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-08T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hanging with nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243502#M174092</link>
      <description>yes now, it is the case.&lt;BR /&gt;&lt;BR /&gt;before the modification on sleep.sh (append the follow  &amp;lt; /dev/null &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp; )&lt;BR /&gt;i received the command prompt after 10 seconds.&lt;BR /&gt;&lt;BR /&gt;Now, i receive the command prompt immediatly.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2004 08:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243502#M174092</guid>
      <dc:creator>ANDRE David</dc:creator>
      <dc:date>2004-04-08T08:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hanging with nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243503#M174093</link>
      <description>So that is it. With the use of /dev/null you will get prompt immediately and if you put sleep 10, you will get prompt, after 10 sec.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 08 Apr 2004 08:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hanging-with-nohup/m-p/3243503#M174093</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-08T08:14:02Z</dc:date>
    </item>
  </channel>
</rss>

