Re: rsh access
> rsh a redhat linux server from my debian server...and i have no idea how to
> get it to work.
To do this you need four things on your Red Hat system (or any UNIX for
that matter):
* The user's home directory on the remote machine must have a
~/.rhosts file with the address of the local machine.
* The remote machine must have the shell line in /etc/inetd.conf
uncommented:
shell stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rshd
* The /etc/hosts.allow file must allow in.rshd from your local
machine:
in.rshd: local_machine
* You may also need to make sure the portmapper is running on the
remote machine, and that your local machine has access to it.
In Debian, this is also done with /etc/hosts.allow, but remember
that the portmapper only understands IP addresses:
portmap: 192.1.4.
will allow 192.1.4.0 thru 192.1.4.255
Of course the server machine also has to have in.rshd installed and all
of that. Also don't forget to restart the inetd daemon on the remote
server if you change your /etc/inetd.conf file.
Hope this works!
Chris
--
Christopher S. Swingley tel: 907-474-2689 fax: 474-2643
930 Koyukuk Drive, Suite 408C email: cswingle@iarc.uaf.edu
University of Alaska Fairbanks www.frontier.iarc.uaf.edu:8080/
Fairbanks, AK 99775 ~cswingle
PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Reply to: