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

Make Publickey authentication configurable #750

Closed
debbabi opened this issue Feb 26, 2024 · 1 comment
Closed

Make Publickey authentication configurable #750

debbabi opened this issue Feb 26, 2024 · 1 comment

Comments

@debbabi
Copy link
Contributor

debbabi commented Feb 26, 2024

Description

PubkeyAuthentication is actually hardcoded as true.
We have some cases in our cluster were we want to set it to false globally, but true for some Matched Addresses only (using Match Address directive) like the following configuration example:

# /etc/ssh/sshd_config
...
PubkeyAuthentication no
...
Match Address 192.168.1.0/24
    PubkeyAuthentication yes
...

Solution

Add a new variable ssh_pubkey_authentication and set it true by default.
As like, we can override this global default value to false and set our specific Match Address rules.
Please check the following PR: #749

Alternatives

No response

Additional information

...

@rndmh3ro
Copy link
Member

closed via #749

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

2 participants