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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux