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

Commit 2b7201a

Browse files
authored
Merge pull request #233 from dev-sec/fix_189
set UsePAM to yes by default
2 parents ce23e04 + 439c3ee commit 2b7201a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Warning: This role disables root-login on the target server! Please make sure yo
3131
|`ssh_gateway_ports` | `false` | `false` to disable binding forwarded ports to non-loopback addresses. Set to `true` to force binding on wildcard address. Set to `clientspecified` to allow the client to specify which address to bind to.|
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.|
34-
|`ssh_use_pam` | false | false to disable pam authentication.|
34+
|`ssh_use_pam` | true | false to disable pam authentication.|
3535
|`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.|

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ssh_allow_agent_forwarding: false # sshd
6565
ssh_pam_support: true
6666

6767
# false to disable pam authentication.
68-
ssh_use_pam: false # sshd
68+
ssh_use_pam: true # sshd
6969

7070
# false to disable google 2fa authentication
7171
ssh_google_auth: false # sshd

0 commit comments

Comments
 (0)