Rsh problem that i can't solve

Hello
I need to use rsh but I can’t do it on a server. I actually rsh to the server, but I can’t from a new server.

I can rsh from server to other servers but i cant to server b. Problem is server b. I can also rsh to server b from other servers.

Server A to rsh server B ----> var/log/messages B server

server B firewall not active, iptables not active

xinetd[2545102]: START: shell pid=842131 from=::ffff:…
xinetd[842131]: FAIL: shell address from=::ffff:…
xinetd[2545102]: EXIT: shell status=0 pid=842131 duration=0(sec)

Server A rsh command
poll: protocol failure in circuit setup

RSH need server-side support. Is there any reason you are not using the ssh server and client? RSH and telnet are insecure and no longer supported and recommend on modern Linux or Unix servers.

Hello

I need to use rsh for a while

A server → Oracle Linux 8.6
B server → Oracle Linux 8.6
C Server → Oracle Linux 6.9

A server to C server → RSH OK
C server to A server → RSH OK

B server to A server → RSH OK
A server to B server → poll: protocol failure in circuit setup

C server to B server → RSH OK
B server to C server → RSH OK

A,B,C server not active firewall and iptables

Sounds like you are running out of expected sessions per minute. You need to edit config to allow more session per minutes. I don’t remember exact config but you may be running out of sessions per minute limit.

i cant find the config file?

I can’t rsh to server b from another server except the old servers I set

i have to use it for a while

try to match rsh version all servers.

Hello

i solve problem. B server service xinetd status (running) (but os version oracle linux 7.9)

kill pids xinetd service and problem solved.