Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No HostKeys defined so blacklisting *dsa* doesn't really work #11

Open
sudeephb opened this issue Jan 18, 2024 · 0 comments
Open

No HostKeys defined so blacklisting *dsa* doesn't really work #11

sudeephb opened this issue Jan 18, 2024 · 0 comments

Comments

@sudeephb
Copy link
Contributor

sudeephb commented Jan 18, 2024

Hi,

On a few host, we're seeing this:

| $ grep HostKey /etc/ssh/sshd_config
| #HostKey /etc/ssh/ssh_host_rsa_key
| #HostKey /etc/ssh/ssh_host_ecdsa_key
| #HostKey /etc/ssh/ssh_host_ed25519_key
| $_

This makes blacklisting dsa keys useless as none are defined so it uses the default, which is all of them. I think the charm should check that either or both ssh_host_rsa_key and ssh_host_ed25519_key exists and then uncomment those HostKey lines if so.


Imported from Launchpad using lp2gh.

  • date created: 2021-08-25T23:49:32Z

  • owner: hloeung

  • assignee: None

  • the launchpad url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant