Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Conversation

@szEvEz
Copy link
Contributor

@szEvEz szEvEz commented Apr 29, 2019

Currently WIP - but feel free to take a look. - Still need to test with all AuthenticationMethods

Introducing Breaking changes, as parameters are removed.

Referencing #170 and #172

@rndmh3ro
I am just not sure about setting some parameter again, depending on the chosen AuthenticationMethod.

e.g. For AuthenticationMethods: password -> we require that PasswordAuthentication is set to yes. Do we want to define them again or add further conditionals to the existing params?

{% if ssh_pam_device %}
AuthenticationMethods publickey,keyboard-interactive:pam
# Set AuthenticationMethods per default to publickey
AuthenticationMethods {{ sshd_authenticationmethods|default("publickey") }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|default("publickey") is unnecessary here since its set by default in defaults.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@rndmh3ro
Copy link
Member

I am just not sure about setting some parameter again, depending on the chosen AuthenticationMethod.
e.g. For AuthenticationMethods: password -> we require that PasswordAuthentication is set to yes. Do we want to define them again or add further conditionals to the existing params?

None of this, I'd say. We just do it like this:

AuthenticationMethods {{ sshd_authenticationmethods }}
[...]
PasswordAuthentication {{ 'yes' if (ssh_server_password_login|bool) else 'no' }}
[...]
ChallengeResponseAuthentication {{ 'yes' if (ssh_challengeresponseauthentication|bool) else 'no' }}

This way, we have secure defaults but everyone can change these to whatever they need. What do you think?

Still need to test with all AuthenticationMethods
I'm looking forward to these!

szEvEz and others added 25 commits October 2, 2019 19:41
Signed-off-by: szEvEz <szivos.john@gmail.com>
…ionmethods by himself

Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Guillaume Bernard <contact@guillaume-bernard.fr>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
Signed-off-by: szEvEz <szivos.john@gmail.com>
fix #224

Signed-off-by: Sebastian Gumprich <sebastian.gumprich@supplyon.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Norman Bestfleisch <norman.bestfleisch@netresearch.de>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Norman Bestfleisch <norman.bestfleisch@netresearch.de>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Matthias Lohr <mail@mlohr.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
Signed-off-by: szEvEz <szivos.john@gmail.com>
gobind-singh and others added 6 commits October 2, 2019 22:06
Signed-off-by: Gobind Singh <gobindsingh108@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
# The first commit's message is:

Added ssh_syslog_facility, ssh_log_level and ssh_strict_modes parameters.

Signed-off-by: Schonecker, Brian <brian.schonecker@bkfs.com>

# The 2nd commit message will be skipped:

#	Added ssh_syslog_facility, ssh_log_level and ssh_strict_modes parameters.
Signed-off-by: szEvEz <szivos.john@gmail.com>
Signed-off-by: szEvEz <szivos.john@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants