On Thursday 27 October 2005 09:53, Neil Bothwick wrote:
> On Thu, 27 Oct 2005 09:06:43 -0500, John Jolet wrote:
> > We're trying to set up a local portage repository for our webservers to
> > use, as we'd like our webservers to NOT have compilers and other dev
> > tools on them.  We'd prefer to have the webservers get the packages via
> > rsync over ssh, but I can't seem to find anywhere to specify that
> > transport for getting packages.  I'm assuming to make it look at my
> > repository server, we put that server in the "MIRRORS" in the global
> > make.conf file, correct?  And I realize we can specify rsync:// as the
> > url to make it use rsync, but I  need it to use a specific user for ssh
> > authentication, and ssh as the transport.
>
> This is clearly documented in the rsync man page; rsync://[EMAIL PROTECTED] 
> makes
> it use a specific user. rsync uses ssh by default now.
>
Yes, I read that man page quite a bit.  I have written a script that uses from 
the command line rsync --rsh="ssh -l username" server::module/files 
successfully.  However, changing the SYNC line in make.conf to 
rsync://[EMAIL PROTECTED] give me a connection refused.  Can someone clarify 
the 
behavior difference between rsync://[EMAIL PROTECTED] and rsync --rsh="ssh -l 
username" server::?
> MIRRORS covers where source tarballs are downloaded from. As you don't
> want to compile on the server, you should be setting PORTAGE_BINHOST. See
> man make.conf.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list

Reply via email to