Replacing Apt with Yum.. SSH:// Support?

Les Mikesell lesmikesell at gmail.com
Wed May 25 23:20:26 UTC 2005


On Wed, 2005-05-25 at 17:13, Pete Toscano wrote:

> I am currently using apt to distribute updates to my servers.  I run one
> central repository where my servers use ssh to attach to it and get
> updates.  Due to security-related political issues, ssh is the only way
> I can easily do updates for about 2/3 of my servers.
> 
> Can I use ssh:// or sftp:// as the protocol in the yum.repos.d/*repo
> files or would I have to resort to ssh tunneling tricks?  Does anyone
> know if this is a planned feature for the future?

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.
Should work with apt too, but you might have to set the proxy in
the config file instead of exporting for the command. 

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the fedora-list mailing list