I'd like to know if some of you guys have been using rcp to copy files from one computer to an other? I just cannot figure out how to make it works ... can someone give me pointer, directions ....
Before this you have to set up host equivelence in /etc/hosts.equiv (to trust a remote host) or in $HOME/.rhosts (to trust a particular user on a host).
For the hosts.equiv just list the host(s) eg:
mymac
g3po
The hosts.equiv file trusts all users on the host except root (I think).
For the .rhosts list the user and the host they live on, eg:
steve mymac
george g3po
The remote user gets the privs of the user who's home dir has the .rhosts file.
These files also allow acces to other 'r' commands like rsh and rlogin.
Remember that the man pages are a good way to see how a command works.
well, that's what I was trying ... and it wasn't working. So I did include in the netinfo /machines/ my hosts with the corresponding IP ... so I can now do my rcp with the hostname instead of the IP. And i get a "Permission Denied" message when I do the rcp .. the wierd thing is that no matter if I do have a .rhosts or not when i do a rlogin or an rsh ... it still asks for a password
I suspect that you have not set up any host lookup stuff (a different ballgame entirely!). Try to ping the IP address of "myhost" if successful try the rcp again:
rcp myfile my.hosts.ip.address:/my/path
Under OS X local nameserver stuff is handled by NetInfo (which I am yet to get my head around).