# rsh -d 172.31.0.52 uname -a Linux 172.31.0.52 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 GNU/Linux # rsh 172.31.0.52 uname -a Linux 172.31.0.52 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 GNU/Linux No difference at all... # rpm -q rsh rsh-0.17-17
And what is your expected result for this?
I have absolutely no idea...
-d means socket debugging. You have to use it with something other, for example: rsh -d <host> <command> It works for me. If you haven't idea I have one nice idea -- I'm going to close this report as Not A Bug :-)
What's the difference between: rsh -d <host> <command> and rsh -d 172.31.0.52 uname -a ? If you do get some debugging, how come no debugging output is coming on my tests?
By the way, although I don't know what the output will look like, I do expect some difference in the output if I use the "-d" switch...
-d option set secket to debug mode by setsockopt(). It's all. It hasn't other effect to rsh. It means rsh doesn't output any extra messages for "-d", so it's wrong if you expect any difference in the output. The socket debug messages are out of rsh control. All control of this stuff has linux kernel. The output of kernel messages maintain klogd and syslogd and depend on your system setting what and where (on console or in the /var/log/messages) you will see.
Ha, understood. Thanks for the clarification.