This is a discussion on rsh does not work within the Linux Networking forums, part of the Linux Forums category; I have Debian installed on two PCs and want to perform rsh between them. Following phenomena: ================== - PC 1 can issue ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have Debian installed on two PCs and want to perform rsh between them. Following phenomena: ================== - PC 1 can issue rsh commands on PC 2 but not vice versa. ("rsh: could not make a connection, connection refused") - rsh localhost does not work on neither PC What I did so far: ============== First I installed rsh-client and rsh-server on both machines. Later I found out that Debian developers recommend to use the new packages rsh-redone-client and rsh-redone-server instead. So I installed them (and removed the standard rsh packages). But no changes... I checked ~/.rhosts (contains both machines and usernames, and I made also chmod 600) /etc/hosts.allow (both hosts entered) /etc/hosts.deny (no host entered) /etc/hosts.equiv (both hosts entered) /etc/inet.conf entries (services in.rshd enabled) ... but it does not work.... Thanks for any help |
|
|||
|
Herbert Haas wrote:
> I have Debian installed on two PCs and want to perform rsh between > them. Why would you ever want to use rsh (it's insecure, passwords transmitted over the network in clear-text)? I would suggest using ssh. apt-get install ssh should install the required client and server binaries. > - PC 1 can issue rsh commands on PC 2 but not vice versa. ("rsh: could > not make a connection, connection refused") Is the rsh "server" listed in your inetd.conf or xinetd.conf? Take a look at SSH (see http://www.openssh.org/), as it includes all of the features found in rsh, and more. -- Amir Malik http://www.unoc.net/a/ | $email =~ s/SPAMBLOCK/a/; 4296 EE70 8F7C 1D1A D3C9 D885 95A9 6F83 73E7 589E |
|
|||
|
Herbert Haas <admin@localhost.com> wrote
news:4j4870d4ncpovcc2pg9814qhu7v5k2lqht@4ax.com: > - PC 1 can issue rsh commands on PC 2 but not vice versa. ("rsh: could > not make a connection, connection refused") Check your /etc/inetd.conf file for rsh line. Add the client hostname in the /etc/hosts.allow file, check also the /etc/hosts.deny file. Use 'man tcpd', 'man hosts.allow', 'man hosts.deny' and 'man hosts.equiv' for full configuration detail. And use ssh instead of rsh. ssh is more secure and easier to configure. Regards |