This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Redirect stdout from SSH
Thank you Igor for your helpful explanation. The '-n' flag does the trick,
too. And looking at the man pages now just makes me wonder why I did not
RTFM well enough before! ;-)
Dave.
>
> By default, ssh is an interactive program, even if the program it invokes
> isn't. Therefore, ssh contains some code that sets up standard input and
> its properties. This code may cause some problems when invoked from a
> non-pty-aware application (such as a C# program). You can redirect
> standard input, as you've already discovered, or simply use the '-n'
> option to ssh.
> Igor
> --
> http://cs.nyu.edu/~pechtcha/
> |\ _,,,---,,_ pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
> |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
>
> "Happiness lies in being privileged to work hard for long hours in doing
> whatever you think is worth doing." -- Dr. Jubal Harshaw
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/