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

Commit ed9447a

Browse files
committed
updated README for new default parameter value, GSSAPICleanupCredentials should always equal yes
1 parent cfc77ad commit ed9447a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Warning: This role disables root-login on the target server! Please make sure yo
3232
|`ssh_allow_agent_forwarding` | false | false to disable Agent Forwarding. Set to true to allow Agent Forwarding.|
3333
|`ssh_pam_support` | true | true if SSH has PAM support.|
3434
|`ssh_use_pam` | false | false to disable pam authentication.|
35-
|`ssh_gssapi_support` | true | true if SSH has GSSAPI support.|
35+
|`ssh_gssapi_support` | false | true if SSH has GSSAPI support.|
3636
|`ssh_kerberos_support` | true | true if SSH has Kerberos support.|
3737
|`ssh_deny_users` | '' | if specified, login is disallowed for user names that match one of the patterns.|
3838
|`ssh_allow_users` | '' | if specified, login is allowed only for user names that match one of the patterns.|

templates/opensshd.conf.j2

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,9 @@ KerberosTicketCleanup yes
119119
#KerberosGetAFSToken no
120120
{% endif %}
121121

122-
{% if ssh_gssapi_support -%}
123122
# Only enable GSSAPI authentication if it is configured.
124-
GSSAPIAuthentication yes
123+
GSSAPIAuthentication {{ 'yes' if ssh_gssapi_support else 'no' }}
125124
GSSAPICleanupCredentials yes
126-
{% endif %}
127125

128126
# In case you don't use PAM (`UsePAM no`), you can alternatively restrict users and groups here. For key-based authentication this is not necessary, since all keys must be explicitely enabled.
129127
{% if ssh_deny_users -%}

0 commit comments

Comments
 (0)