Replacing Apt with Yum.. SSH:// Support?
Pete Toscano
pete-fedora at verisignlabs.com
Thu May 26 02:43:58 UTC 2005
Les Mikesell wrote:
> I've done stupid ssh tunneling tricks like this for the same reason.
> Make the ssh connection with -R:3128:your_proxy:3128 (assuming the
> standard squid port). Then on the remote machine:
> http_proxy=http://localhost:3128 ftp_proxy=http://localhost:3128 yum
> update.
Thanks for the tip. I was thinking I'd set up apache on the server and
have it bind to localhost:80, then, on the clients just do something
like this:
ssh -N -L 80:localhost:80 serverbox &
Of course, it's not tested, so I might need to do the squid proxy
anyway. :)
> Should work with apt too,
Apt supports ssh with ssh://, so I don't need to jump through any hoops.
(Well, at least I don't have to jump through any hoops to make apt happy.)
pete
More information about the users
mailing list