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!
Beijing and image manipulation addict Salam, Image manipulation with command line is fun and time consuming too. Given my Digikam plugins unable to work, I start to figure out many wonderful features of other tool which offer almost the same quality. However I was stucked with ImageMagick,with many tutorial on the net: Here and Here for i in *jpg ;do convert -font helvetica -fill white -pointsize 18 -draw 'text 10,50 "ACM-ICPC Beijing 2005"' $i $i;done The pix above shows a heater to heat up guest room during ACM-ICPC competition. (outside building's temperature is almost 4 celcious).