Subject: Re: rcp or scp
To: Daniel Bolgheroni <dbolgheroni@uol.com.br>
From: David S. <davids@idiom.com>
List: netbsd-help
Date: 11/21/2003 12:22:57
> 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.
>