Subject: Re: rcp or scp
To: None <netbsd-help@NetBSD.org>
From: Daniel Bolgheroni <dbolgheroni@uol.com.br>
List: netbsd-help
Date: 11/25/2003 02:50:02
Hi,

I've tested all three conditions to use rcp, but now I'm getting permission 
denied error message instead of connection refused.

Have I missed something?

Thank you.

On Friday 21 November 2003 20:22, David S. wrote:
> > I'm trying to copy a file to a remote machine using rcp, but I'm getting
> > an error message reporting connection refused.
> >
> > What should I do on destination machine or even on source machine? I've
> > looked for documentation, without success.
>
> A number of things could cause this problem:
>
> 	- Is the remote host offering the service (is 'inetd' running
> 	   with the 'shell' service enabled)?
> 	- Is the remote host blocking the 'shell' port 514, via a
> 	   packet filter or the 'hosts.allow/hosts.deny' mechanism?
> 	- Is a packet filter on the local host blocking the
> 	   connection?  With 'rcp' or 'rsh', the remote host will
> 	   attempt to make a connection back to local at some
> 	   arbitrary port.
>
> David S.
>
> > Thank you.