fix: disable PrintMotd only on RHEL 8+
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ed5821e9d5
commit
cbf5bcaff3
@ -121,7 +121,9 @@ X11Forwarding {{ sshd_x11_forwarding }}
|
||||
#X11DisplayOffset 10
|
||||
#X11UseLocalhost yes
|
||||
#PermitTTY yes
|
||||
{% if ansible_distribution_major_version is version('7', '>') %}
|
||||
PrintMotd no
|
||||
{% endif %}
|
||||
#PrintLastLog no
|
||||
TCPKeepAlive {{ sshd_tcp_keep_alive }}
|
||||
#UseLogin no
|
||||
|
Loading…
Reference in New Issue
Block a user