First at all: yes, I absolutely need to use RSH (no SSH, no “copy” instructions…) between my different containers hosted on several hosts since I am embedding heavy applications which massively use RSH.
Second precision: SSH perfectly works between them…
- Host H1 hosts container C1 (192.168.1.1) which runs Application A1
- Host H2 hosts container C2 (192.168.1.2) which runs Application A2
H1 and H2 are connected with an ethernet cable (eth1 port on both sides), A1 and C2 communicate with rsh/rcp.
C1 and C2 are built from Centos 7
Command on H2:
[user@localhost ~]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1b36072bd54e A2_image “/bin/bash” 2 minutes ago Up 2 minutes 0.0.0.0:514->514/tcp, 0.0.0.0:544->544/tcp, 0.0.0.0:1022->22/tcp, 0.0.0.0:1222->222/tcp A2_instance
I installed both rsh and rsh-server in both C1 and C2, and created the following file:
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.rshd
disable = no
log_on_success += USERID
log_on_failure += USERID
192.168.1.2: Connection refused
So, what should I do to solve this problem?
Many thanks !