This is the mail archive of the
mailing list for the Cygwin project.
Re: rcp problem
Some things to check:
- the .rhosts file on Linux must be owned by you or by root and have
permissions of 0600.
- did you use a hostname or IP address in .rhosts? It must be a hostname.
Also, ping that hostname and make sure it displays the IP address of the
cygwin system to be sure it resolves correctly.
- passwords being the same does not matter - rcp does not use passwords
"mohanlal jangir" <firstname.lastname@example.org> wrote in message
> I tried to do rcp from cygwin to linux machine but I got following error :
> $ rcp temp.txt 10.10.10.45:/home/mohanlal
> 10.10.10.45: Permission denied
> This seems to be user validity issue. Command "whoami" at cygwin as well
> at linux machine returns "mohanlal".
> On machine 10.10.10.45, I have created file .rhosts in /home/mohanlal
> directory granting permission to the machine I am doing rcp from. Password
> on windows machine running cygwin and on linux machine are same. Any clue,
> how can I get it work?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html