1 |
On Thursday 27 October 2005 09:53, Neil Bothwick wrote: |
2 |
> On Thu, 27 Oct 2005 09:06:43 -0500, John Jolet wrote: |
3 |
> > We're trying to set up a local portage repository for our webservers to |
4 |
> > use, as we'd like our webservers to NOT have compilers and other dev |
5 |
> > tools on them. We'd prefer to have the webservers get the packages via |
6 |
> > rsync over ssh, but I can't seem to find anywhere to specify that |
7 |
> > transport for getting packages. I'm assuming to make it look at my |
8 |
> > repository server, we put that server in the "MIRRORS" in the global |
9 |
> > make.conf file, correct? And I realize we can specify rsync:// as the |
10 |
> > url to make it use rsync, but I need it to use a specific user for ssh |
11 |
> > authentication, and ssh as the transport. |
12 |
> |
13 |
> This is clearly documented in the rsync man page; rsync://USER@HOST makes |
14 |
> it use a specific user. rsync uses ssh by default now. |
15 |
> |
16 |
Yes, I read that man page quite a bit. I have written a script that uses from |
17 |
the command line rsync --rsh="ssh -l username" server::module/files |
18 |
successfully. However, changing the SYNC line in make.conf to |
19 |
rsync://user@host give me a connection refused. Can someone clarify the |
20 |
behavior difference between rsync://user@host and rsync --rsh="ssh -l |
21 |
username" server::? |
22 |
> MIRRORS covers where source tarballs are downloaded from. As you don't |
23 |
> want to compile on the server, you should be setting PORTAGE_BINHOST. See |
24 |
> man make.conf. |
25 |
|
26 |
-- |
27 |
John Jolet |
28 |
Your On-Demand IT Department |
29 |
512-762-0729 |
30 |
www.jolet.net |
31 |
john@×××××.net |
32 |
-- |
33 |
gentoo-user@g.o mailing list |