I have two systems, a Solaris and an Oracle Linux. I can rsh from OL to Solaris but not from Solaris to OL. I can also ssh from both machines.
I was reading this and I tried to create an rsh file in /etc/xinetd.d/ (which was initially empty) but it didn't work.
I also tried to restart xinetd service:
restart xinetd daemon but I got the following:
Failed to issue method call: Unit xinetd.service failed to load: No such file or directory. I tried some debugging when trying to connect from a remote system:
truss rsh -l root copernicus The last seven lines are showing:
setsockopt(4, tcp, TCP_ANONPRIVBIND, 0xF9DACEB4, 4, SOV_DEFAULT) = 0 bind(4, 0xF9DACF20, 32, SOV_SOCKBSD) = 0 getsockname(4, 0xF9DACF20, 0xF9DACEBC, SOV_DEFAULT) = 0 setsockopt(4, tcp, TCP_ANONPRIVBIND, 0xF9DACEB8, 4, SOV_DEFAULT) = 0 setsockopt(4, SOL_SOCKET, SO_EXCLBIND, 0xF9DACEB8, 4, SOV_DEFAULT) = 0 ioctl(4, FIOSETOWN, 0xF9DACFE8) = 0 connect(4, 0xF9DAD100, 32, SOV_DEFAULT) (sleeping...)
sshnot meet your needs?rshis outdated and insecure so I wouldn't recommend using it.sshshould be able to do everything you want to do withrshsshanyway. docstore.mik.ua/orelly/networking_2ndEd/ssh/ch04_05.htm Write a shell script to implement enough ofrshviasshto meet your code's needs.sshwith passwordless authentication and it's a drop-in replacement forrsh