[CentOS] Odd issue with C6 and rsh

Tue Oct 11 08:37:07 UTC 2011
Akemi Yagi <amyagi at gmail.com>

On Mon, Oct 10, 2011 at 10:12 PM, James A. Peltier <jpeltier at sfu.ca> wrote:
> ----- Original Message -----
> | On 10/10/11 9:39 PM, James A. Peltier wrote:
> | > It looks like I am also having trouble with rsh on C6 ...

> | rsh was deprecated 10+ years ago, along with all the other r things...
> | they aren't even remotely secure and using them is sloppy practice,
> | even
> | on a private network.

> Tell that to the engineering software vendors who require the service
> in order to properly operate.  If I didn't already know that, obviously
> I wouldn't be posting this as I use SSH keys for most other services.

I am exactly in the same situation. Our IT department allows access to
their tape archiver only by way of '/usr/bin/rsh server command'. For
well >15 years now.

In my case, what I needed to get it to work was :

(1) install /usr/bin/rsh by 'yum install rsh'

(2) Add the following to iptables :

-A INPUT -p tcp -m state --state NEW -m tcp -s [server IP] --dport
1011:1023 -j ACCEPT

You may want to adjust the port range by examining the ports used for
inbound connections from the server.

Hope this helps,

Akemi