rcp gives permission denied!!!

rcp gives permission denied!!!

Post by Benny Che » Tue, 30 Nov 1999 04:00:00



Hi,

    Was trying out rcp between my linux and a Sun box and i always get
    permission denied when i tried to rcp from my linux box.

    i have included my sun in my .rhosts, & i even tried the _INSECURE_
"+ +".

    Is there anything that i missed out?

Benny

 
 
 

rcp gives permission denied!!!

Post by Sitaram Chamar » Thu, 02 Dec 1999 04:00:00



>    Was trying out rcp between my linux and a Sun box and i always get
>    permission denied when i tried to rcp from my linux box.

>    i have included my sun in my .rhosts, & i even tried the _INSECURE_
>"+ +".

>    Is there anything that i missed out?

Check that the .rhosts on the Sun ic "chmod 600" - some rshds will
insist on that.

Also check if your Linux box has a valid DNS address which will
resolve both ways; I know that AIX for instance will not talk to
hosts whose IP addresses it cannot reverse DNS query on.  Maybe
Sun is the same...?

 
 
 

rcp gives permission denied!!!

Post by Frank Ha » Mon, 06 Dec 1999 04:00:00





>>    Was trying out rcp between my linux and a Sun box and i always get
>>    permission denied when i tried to rcp from my linux box.

>Check that the .rhosts on the Sun ic "chmod 600" - some rshds will
>insist on that.

>Also check if your Linux box has a valid DNS address which will
>resolve both ways; I know that AIX for instance will not talk to
>hosts whose IP addresses it cannot reverse DNS query on.  Maybe
>Sun is the same...?

I'll throw this out.  You might consider installing sshd on both
systems.  You can then use the scp program that is included with
sshd.  This has worked out very nicely for me.

--
Frank Hahn

Illinois isn't exactly the land that God forgot -- it's more like the
land He's trying to ignore.

 
 
 

1. rcp gives "Permission Denied"???

Yes, I have a .rhosts file. I've put just about everything in it I can
think of, including

            fred
            FRED
            Fred
            fred.acadiau.ca
            FRED.ACADIAU.CA
            Fred.AcadiaU.CA
            <ip #>

But, if I try something like this on fred:

            rcp file barney:file

I always get permissioned denied. Only Barney is acting this way. Other
local hosts I've tried work. The main difference is that Barney is MIPS
box and all the others are Suns. To confuse matters more, earlier today
the rcp command worked for Barney as well. During the day I've installed
DNS and built a new libc.so, on Fred, not on Barney. Something is making
the remote machine barney not see remote copy commands from "fred" as
coming from "fred". The only way I can get it to work is by putting
a "+" sign in the .rhosts file, which of course is undesireable. If any
one has any ideas how I can debug this I appreciate hearing from you.

Thanks.

--

Acadia University, Wolfville, NS   Tel: 902-542-2201   Fax: 902-542-4364

2. make config

3. rcp giving "rshd: 0826-813 Permission is denied" when trying copy

4. mgetty help

5. rcp permission denied message

6. What is "Gimp.pm" ?

7. RCP Error, permission denied?

8. select(..., execeptfds,..) -- what exception?

9. RCP,RLOGIN rmcd: socket: Permission denied

10. rcp says Permission Denied

11. rcp & Permission denied

12. RCP permission denied.

13. rcp - Permission denied???