# dnf install ssh://foo/tmp/bar.rpm Last metadata expiration check: 0:00:41 ago on Sun 16 Jan 2022 09:21:19 GMT. [MIRROR] bar.rpm: Curl error (1): Unsupported protocol for ssh://foo/tmp/bar.rpm [Protocol "ssh" not supported or disabled in libcurl] I'm trying to work out if it's possible to make this work by adjusting the dnf configuration. I'm going to say _no_ because the list of allowed protocols is hard-coded in a couple of places: https://github.com/rpm-software-management/dnf/blob/b831cbd50bb04ace86a90c6e7202e271e7234e69/dnf/package.py#L292 https://github.com/rpm-software-management/dnf/blob/b831cbd50bb04ace86a90c6e7202e271e7234e69/dnf/repo.py#L635 However the error message seems to indicate that the restriction is being enforced by curl itself using this mechanism: https://curl.se/libcurl/c/CURLOPT_PROTOCOLS.html I cannot see where dnf calls curlopt at all - perhaps it's in a different library? Anyway I think it'd be nice to support ssh, and should be safe. (ftp is allowed at the moment, so presumably security isn't high on the list of current concerns). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure