Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Monday, October 15, 2007

rlogin, rsh and rcp

How do you set up two boxes, so that you can copy files through rcp command ?

Short answer:

0. Ensure that rsh daemon is running on OS level.
1. Ensure that server1 has an entry in /etc/hosts of server2 and vice versa.
2. Ensure that $HOME/.rhosts file of the unix user you are using to do rcp has an entry like this:

In server1

hostname_of_server2 unix_user_id_used_for_rcp

In server2

hostname_of_server1 unix_user_id_used_for_rcp

That's it. You are all set to do rcp, rlogin

No comments: