[distcc] too many SSH connections

Wayne Davison wayned at samba.org
Fri Oct 31 23:29:31 GMT 2003


On Fri, Oct 31, 2003 at 12:18:16PM +0000, Phil R Lawrence wrote:
> When I try to emerge using distcc over SSH, it keeps logging me back
> on and off the other box.  Can you help me find the source of this
> problem?  My expectation was that I would stay connected to the other
> box until the emerge was done.  Here is lots of info...  Thanks! :-)

Your expectation is wrong -- that's the way distcc works.  Each time it
is called (and it is called separately for each compiler run) it either
opens a connection to a remote host or runs a local compile.

Avoiding ssh is a faster way to go, but that requires that you setup a
distccd server on each remote host and pay attention to security.  For
instance, on my personal network behind a firewall, the distcc port is
blocked, so I'm safe.  If you are in a multi-user environment, you may
need to install distccd to be run by restricted-permission user that can
only compile files in an out-of-the-way directory and/or setup a
restricted list of IPs that you will allow to connect.  If this is not
an option for you, you need to use ssh and configure it to authorize
its connections via some other method than a password prompt.

..wayne..



More information about the distcc mailing list