Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added Linux boxes to /etc/hosts.equiv and .rhosts file for rsh connectivity to an HP box. I am able to do rsh as root from Linux to HP. But if I run in a root shell as different user connection times out. Any reason?

share|improve this question

migrated from Apr 6 '10 at 22:29

This question came from our site for professional and enthusiast programmers.

rsh -l <username> <hostid> "hostname" – kadeshpa Apr 7 '10 at 13:21

Try running rsh with the "-l" option to specify username or try

rsh user@hostname

If you don't it will default to the user you are currently logged in as.

share|improve this answer
Also, obligatory finger-wagging about using ssh instead of rsh. WAGWAG* – Cory J Apr 6 '10 at 22:51
Cannot use ssh for its complicated to set up in our environment. – kadeshpa Apr 7 '10 at 13:22
I don't see how ssh could be more complicated to set up than rsh... Thankfully, those are not my servers. – Hubert Kario Oct 2 '10 at 19:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.