Red Hat Bugzilla – Bug 10258
ssh/rsh output on screen
Last modified: 2008-05-01 11:37:55 EDT
This problem happens with both "rsh" and "ssh".
Everything is fine if I log into another machine,
but if I specify in the command line also the command that has to
be executed at the remote host, for example:
ssh valerio@remote_host bin/my_prog
the program my_prog starts correctly,
but the its output comes on my screen
only when the number of written characters is greater
then a "magic" number around 6000.
When it is, all the output is flushed on the screen,
waiting then for another set of chars.
If the command:
is giving after the remote host prompt everything is fine.
Can someone give me any help?
Thank you for attention and collaboration
Couldn't replicate with either rsh (server version RH6.0, clients RH62, Rawhide)
or ssh (not shipped with Red Hat).
I suggest you try this from a really barebones file, like:
I suspect the program in question here is the problem. In certain situations,
if it expects user input (but doesn't necessarily require it, e.g. lynx), TTY
must be allocated. Try it with '-t' ssh and/or with rlogin.