[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



-f says run in the background, thus I would expect it to return immediately.
> 
> mynewcommand.sh is a shell script that runs the ssh port tunnel followed
> by the nc command to transport serial port over to ssh forwarded port.
> It ends with 
> 
> exit 0
> 
> 
> What I see is the initial ssh never finishes and just sits there. I
> thought once the command ran, it should terminate and the ssh closes. It
> doesn't. puzzled. 
> 
>  I stuck in some echo"" statement so I can see what is happening and
> everything runs OK on the remote machine. 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


-- 
Until later, Geoffrey


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00466" href="msg00466.html">[ale] ssh remote command</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00469.html">[ale] (OT) Generate 3D Model</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00471.html">[ale] (OT) Generate 3D Model</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00466.html">[ale] ssh remote command</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00473.html">[ale] ssh remote command</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00470"><strong>Date</strong></a></li>
<li><a href="threads.html#00470"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>