2022-06-02 21:55:59 +00:00
|
|
|
################################################################################
|
2022-06-02 21:57:52 +00:00
|
|
|
# Below managed by Rocky Infrastructure
|
2022-06-02 21:55:59 +00:00
|
|
|
#
|
|
|
|
Banner /etc/banner
|
|
|
|
PermitRootLogin no
|
|
|
|
Port 22
|
|
|
|
X11Forwarding no
|
|
|
|
LoginGraceTime 1m
|
|
|
|
|
|
|
|
# IPA
|
|
|
|
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
|
|
|
AuthorizedKeysCommandUser nobody
|
|
|
|
ChallengeResponseAuthentication yes
|
|
|
|
|
|
|
|
# IPA Automatic
|
|
|
|
PubkeyAuthentication yes
|
|
|
|
KerberosAuthentication no
|
|
|
|
GSSAPIAuthentication yes
|
|
|
|
UsePAM yes
|