[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Fri, 26 Aug 2005 14:13:11 -0400 -->
- <!--x-from-r13: wxvaarl ng ybpnyargfbyhgvbaf.pbz (Xnzrf B. Yvaarl WWW) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] ssh remote command -->
- <li><em>date</em>: Fri, 26 Aug 2005 14:13:11 -0400</li>
- <li><em>from</em>: jkinney at localnetsolutions.com (James P. Kinney III)</li>
- <li><em>subject</em>: [ale] ssh remote command</li>
ssh -f remotemachine /usr/local/mynewcommand.sh
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.
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
<a rel="nofollow" href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a>
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00470" href="msg00470.html">[ale] ssh remote command</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00473" href="msg00473.html">[ale] ssh remote command</a></strong>
<ul><li><em>From:</em> hne at hopnet.net (Keith Hopkins)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00465.html">[ale] Gantt charts under Linux</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00467.html">[ale] OT: Compiler for Mac OS-X</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00472.html">[ale] Gantt charts under Linux</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00470.html">[ale] ssh remote command</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00466"><strong>Date</strong></a></li>
<li><a href="threads.html#00466"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>