mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-29 08:26:28 +00:00
commit
a755c87a7c
@ -62,7 +62,6 @@ AuthorizedKeysFile .ssh/authorized_keys
|
|||||||
# To disable tunneled clear text passwords, change to no here!
|
# To disable tunneled clear text passwords, change to no here!
|
||||||
#PasswordAuthentication yes
|
#PasswordAuthentication yes
|
||||||
#PermitEmptyPasswords no
|
#PermitEmptyPasswords no
|
||||||
PasswordAuthentication yes
|
|
||||||
|
|
||||||
# Change to no to disable s/key passwords
|
# Change to no to disable s/key passwords
|
||||||
#ChallengeResponseAuthentication yes
|
#ChallengeResponseAuthentication yes
|
||||||
@ -154,3 +153,8 @@ Ciphers aes256-ctr,aes192-ctr,aes128-ctr
|
|||||||
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
||||||
AuthorizedKeysCommandUser nobody
|
AuthorizedKeysCommandUser nobody
|
||||||
ChallengeResponseAuthentication yes
|
ChallengeResponseAuthentication yes
|
||||||
|
PasswordAuthentication no
|
||||||
|
|
||||||
|
{% if 'gitlabservers' in group_names %}
|
||||||
|
AllowUsers git@* *@10.*
|
||||||
|
{% endif %}
|
||||||
|
@ -70,7 +70,6 @@ AuthorizedKeysFile .ssh/authorized_keys
|
|||||||
# To disable tunneled clear text passwords, change to no here!
|
# To disable tunneled clear text passwords, change to no here!
|
||||||
#PasswordAuthentication yes
|
#PasswordAuthentication yes
|
||||||
#PermitEmptyPasswords no
|
#PermitEmptyPasswords no
|
||||||
PasswordAuthentication yes
|
|
||||||
|
|
||||||
# Change to no to disable s/key passwords
|
# Change to no to disable s/key passwords
|
||||||
#ChallengeResponseAuthentication yes
|
#ChallengeResponseAuthentication yes
|
||||||
@ -166,3 +165,8 @@ Ciphers aes256-ctr,aes192-ctr,aes128-ctr
|
|||||||
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
||||||
AuthorizedKeysCommandUser nobody
|
AuthorizedKeysCommandUser nobody
|
||||||
ChallengeResponseAuthentication yes
|
ChallengeResponseAuthentication yes
|
||||||
|
PasswordAuthentication no
|
||||||
|
|
||||||
|
{% if 'gitlabservers' in group_names %}
|
||||||
|
AllowUsers git@* *@10.*
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user