Skip to main content
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

Gue dengan S2 gue. Sronok banget!

Vultr - another reliable alternative for SEA Virtual Private Server!

I have been using Vultr  as my recent VPS now, since it has just a nearby Data Center in Singapore (sadly, Malaysian VPS is always expensive.. so the best option is DC in Singapore - most of the time). It provides free trial credit for around USD5.. and +USD2 if you did a social media integration/sharing with Twitter. Try it now. Click Vultr