[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] ssh remote command
- Subject: [ale] ssh remote command
- From: jkinney at localnetsolutions.com (James P. Kinney III)
- Date: Fri, 26 Aug 2005 14:13:11 -0400
What would cause an ssh tunneled command to no return when it finished?
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
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
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. /
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
Size: 189 bytes
Desc: This is a digitally signed message part