A bit more info:
man pages for the rsh daemon can be found here:
http://www.manpages.info/s
and man pages for the rsh client program is found here:
http://www.manpages.info/s
Main Topics
Browse All TopicsHi,
I am currently having some "rsh" issues. Do you happen to know what port "rsh" normally use? How do I check?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
A bit more info:
man pages for the rsh daemon can be found here:
http://www.manpages.info/s
and man pages for the rsh client program is found here:
http://www.manpages.info/s
In addition to the question above to explain why I need rsh to run also with ssh...
The backup application that is running within the environment that I work in requires rsh to do the file transfer to the master backup server. This is the reason why I need to find out why rsh is not working properly. Is there a way I can troubleshoot and find out what the problem is located? Is there a way to determine if the Cisco router that is in the environment is preventing the "rsh" services from working within the environment. I have noticed and read the rsh listens to port 514 by default. What command do I use to determine if that is the port that rsh is listening to? I apologize for all of these questions.
Thank you.
Hi "ahofmann,"
Thank you for your advice, but I do not have an option to use another service. The backup application is relying on "rsh." On the other Sun servers that are in the same environments works well with rsh, but for some reason, this particular system is having some issue. All the servers are identical as for the hardware and OS version (Solaris 8).
Lets say that I am trying to rsh from a workable Sun server (Alpha) to another Sun server (Beta). When I run the rsh test command from Alpha to Beta, it works fine. I would get a response "beta."
rsh beta hostname
When I run the same command to the server that is having an rsh issue (Gamma), I would not receive any response for about 20 seconds and then receive an error message as follows....
gamma: Connection refused
Do you or anyone have any idea what I should do to have rsh run properly on the "Gamma" server? The "ssh" service works fine, but I am just having an issue with rsh. I have checked the .rhosts file and it is allowing permission for the Alpha server. I have also checked the hosts.allow and hosts.deny files.
Thank you,
Business Accounts
Answer for Membership
by: synrstPosted on 2005-10-25 at 14:40:30ID: 15158253
rsh listens on port 514 (tcp). You can find service/port number mappings for most services in /etc/services normally.
The rsh demon is spawned from inetd, so if you want to see how its started, you can look for rsh in /etc/inetd.conf