The rsh
service, which is available with
the rsh-server
package and runs as a service through xinetd or separately
as a systemd socket, should be disabled.
If using xinetd, set disable
to yes
in /etc/xinetd.d/rsh
.
The rsh
socket can be disabled with the following command:
$ sudo systemctl mask --now rsh.socket