<?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 and nohup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432632#M356049</link>
    <description>Why do you have that "sh" there?  A proper script can be executed directly by nohup:&lt;BR /&gt;nohup ~/command.sh parameter &amp;amp;</description>
    <pubDate>Thu, 04 Jun 2009 03:31:59 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-06-04T03:31:59Z</dc:date>
    <item>
      <title>ssh and nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432631#M356048</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;i was wondering if you could assist me in the following issue. i am trying to run a command remotely via ssh however i want insure the command is running in the background even after the ssh session timesout. basically something like this&lt;BR /&gt;&lt;BR /&gt;ssh user@host "nohup sh ~/command.sh parameter &amp;amp;"&lt;BR /&gt;&lt;BR /&gt;unfortunately this does not work. if kill the session it kills the command. i am i missing anything in the command. please note i would like the ssh session to continue running in the forground until it timesout. is this possible in this case.&lt;BR /&gt;&lt;BR /&gt;thank you</description>
      <pubDate>Wed, 03 Jun 2009 23:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432631#M356048</guid>
      <dc:creator>w ko</dc:creator>
      <dc:date>2009-06-03T23:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: ssh and nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432632#M356049</link>
      <description>Why do you have that "sh" there?  A proper script can be executed directly by nohup:&lt;BR /&gt;nohup ~/command.sh parameter &amp;amp;</description>
      <pubDate>Thu, 04 Jun 2009 03:31:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432632#M356049</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-04T03:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: ssh and nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432633#M356050</link>
      <description>&lt;!--!*#--&gt;For initiating a command remotely to let it run in the background, do:&lt;BR /&gt;&lt;BR /&gt;ssh user@host "nohup /path/command.sh parameter 1&amp;gt;/path/file.out 2&amp;gt; /path/file.out &amp;amp;"&lt;BR /&gt;&lt;BR /&gt;The ssh session will end as soon as the command is triggered, but the command will run in background until it completes. &lt;BR /&gt;&lt;BR /&gt;file.out will keep the stdout and stderr outputs generated out of the command/script.&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; "i would like the ssh session to continue running in the forground until it timesout. is this possible in this case."&amp;lt;== This is not possible.</description>
      <pubDate>Thu, 04 Jun 2009 04:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432633#M356050</guid>
      <dc:creator>Anoop P_2</dc:creator>
      <dc:date>2009-06-04T04:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: ssh and nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432634#M356051</link>
      <description>That did it. perfect.&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Thu, 04 Jun 2009 05:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-nohup/m-p/4432634#M356051</guid>
      <dc:creator>w ko</dc:creator>
      <dc:date>2009-06-04T05:55:52Z</dc:date>
    </item>
  </channel>
</rss>

