[ale] ssh stalls (OT - cygwin)
Geoffrey
esoteric at 3times25.net
Fri Oct 21 12:11:01 EDT 2005
Christopher Fowler wrote:
> On Fri, 2005-10-21 at 11:08, David Corbin wrote:
>
>
>>
>>This now appears to be a problem with 'unflushed buffers' on stdout somewhere
>>between ruby and cygwin ssh. Are there any ssh parameters/configuration
>>options that say "do not buffer output"?
>>
>
>
> I think it is more when a program is started and has an open descriptor
> to the tty you are connected to. This is what I see typically
>
> local# ssh remote
> remote# programd &
> remote# exit
>
> This is where it hangs.
> To break this sometimes I can do '~.' and sometimes that fails. I'm not
> sure why ssh would refuse my command to disconnect via that command.
> When this happens my last resort is to simply use the kill command to
> kill my ssh client on the local box.
I wasn't paying much attention to this thread, but if you simply want to
run a process on another box via ssh you should use:
ssh -f remote command
ssh will return and not wait for the command to complete.
--
Until later, Geoffrey
More information about the Ale
mailing list