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: bin/Stb_daq is giving after the remote host prompt everything is fine. Can someone give me any help? Thank you for attention and collaboration valerio filippini
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: --- #!/bin/sh echo blah --- 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.