Gentoo rsync with SSH tunnel

Actually we can use HTTP port for updating Gentoo portage,but for much leading edge portage,I opt to tunnel it (with the risk I being warned for bandwith hogging ;->)
why? i thought emerge-webrsync has the less update portage

su -c 'ssh -fgN2L 873:rsync.au.gentoo.org:873 me@myshell.org'

edit /etc/make.conf,put


SYNC="rsync://localhost/gentoo-portage/"

najmi # nmap -p873 localhost

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-05-30
20:57 MYT
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
873/tcp open rsync

Nmap finished: 1 IP address (1 host up) scanned in 0.131 seconds

then emerge --sync

it works for me.

:->

Comments

Popular posts from this blog

Panduan Bas Ekspres Kuala Lumpur (TBS) - Skudai

Cara Renew Passport Pembantu Rumah di Kedutaan Indonesia 2015