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

Leonard Isham leonard.isham at gmail.com
Wed May 25 22:31:18 UTC 2005


On 5/25/05, Pete Toscano <pete-fedora at verisignlabs.com> wrote:
> I think I know the answer to this, but I want to make sure...
> 
> 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?
> 
from man yum.conf

       baseurl
              must be a url to the directory where the yum repositoryâs âhead-
              ersâ directory lives.  Can be an http://, ftp:// or file:// url.
              You can specify multiple urls in one baseurl statement. The best
              way to do this is like this:
 
Now with that said I wonder if you could alias ftp to sftp or maybe
use "ln -s" and to create a symbolic link for sftp to use instead of
ftp.  You would have to make sure that the symbolic link to sftp was
used instead of standard ftp.

-- 
Leonard Isham, CISSP 
Ostendo non ostento.




More information about the fedora-list mailing list