This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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" <mohanlaljangir@hotmail.com> wrote in message
Law11-OE53TXRgcpfiS0000319b@hotmail.com">news:Law11-OE53TXRgcpfiS0000319b@hotmail.com...
> 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
as
> 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?
>
> Regards
> Mohanlal
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]