Giter VIP home page Giter VIP logo

Comments (6)

jaymzh avatar jaymzh commented on August 28, 2024

I can't see any reason to remove /usr/libexec/* at all from openssh, openssh-clients, and openssh-server.... we should nuke all of those.

Also, why do we remove /usr/bin/ssh-* - that's a terrible idea as well.

from lorax.

bcl avatar bcl commented on August 28, 2024

I think this is the same as https://bugzilla.redhat.com/show_bug.cgi?id=1331753

from lorax.

jaymzh avatar jaymzh commented on August 28, 2024

@bcl that bug seems backwards. Why should anaconda be stripping stuff out of the openssh package?

from lorax.

jaymzh avatar jaymzh commented on August 28, 2024

(I'm not asking to be sarcastic... I was gonna send a PR to nuke those lines, but clearly there's a goal/motivation here I don't understand, so I'm trying to understand it).

from lorax.

Jakuje avatar Jakuje commented on August 28, 2024

At the moment, I see that you are removing a lot of files files using this file (probably to save some space):

$ rpm -ql openssh | grep /etc/ssh
/etc/ssh
/etc/ssh/moduli
$ rpm -ql openssh | grep libexec
/usr/libexec/openssh
/usr/libexec/openssh/ssh-keysign
$ rpm -ql openssh-client | grep /usr/bin/ssh-
/usr/bin/ssh-add
/usr/bin/ssh-agent
/usr/bin/ssh-copy-id
/usr/bin/ssh-keyscan
$ rpm -ql openssh-client | grep /usr/bin/slogin
/usr/bin/slogin
$ rpm -ql openssh-clients | grep libexec
/usr/libexec/openssh/ssh-pkcs11-helper
$ rpm -ql openssh-clients | grep /etc/ssh
/etc/ssh/ssh_config
/etc/ssh/ssh_config.d
/etc/ssh/ssh_config.d/05-redhat.conf
$ rpm -ql openssh-server | grep libexec
/usr/libexec/openssh/sftp-server
/usr/libexec/openssh/sshd-keygen
$ rpm -ql openssh-server | grep /etc/ssh
/etc/ssh/sshd_config

Basically only sshd-keygen and sshd_config are crucial to start sshd with default configuration. Removing moduli is also not a good idea (falling back to the default list of hardcoded primes).

slogin is also gone in F25 so there is no need to remove it now.

I am also not satisfied with overwriting the default configuration files with your own. You enable ChallengeResponseAuthentication which is disabled in our shipped configuration. Also we plan to use the configuration files for System-wide Crypto Policy, which would get overwritten by your scripts.

As a minimal solution, I would recommend not to remove /usr/libexec/openssh/sshd-keygen (remove /usr/libexec/openssh/sftp-server if you wish) to resolve this issue. Further, we could see what would be other useful files and why wouldn't you need them.

from lorax.

Jakuje avatar Jakuje commented on August 28, 2024

See the pull request #160

from lorax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.