Switch sshd config for f22/f23 to explicitly say only v2 protocol, adjust rkhunter for this.
This commit is contained in:
parent
e67aecbb2b
commit
f6722659e5
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
||||||
#ListenAddress ::
|
#ListenAddress ::
|
||||||
|
|
||||||
# The default requires explicit activation of protocol 1
|
# The default requires explicit activation of protocol 1
|
||||||
#Protocol 2
|
Protocol 2
|
||||||
|
|
||||||
# HostKey for protocol version 1
|
# HostKey for protocol version 1
|
||||||
#HostKey /etc/ssh/ssh_host_key
|
#HostKey /etc/ssh/ssh_host_key
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ListenAddress ::
|
#ListenAddress ::
|
||||||
|
|
||||||
# The default requires explicit activation of protocol 1
|
# The default requires explicit activation of protocol 1
|
||||||
#Protocol 2
|
Protocol 2
|
||||||
|
|
||||||
# HostKey for protocol version 1
|
# HostKey for protocol version 1
|
||||||
#HostKey /etc/ssh/ssh_host_key
|
#HostKey /etc/ssh/ssh_host_key
|
||||||
|
|
|
@ -165,7 +165,7 @@ ALLOW_SSH_ROOT_USER=without-password
|
||||||
# configuration file, then a value of '2' may be set here in order to
|
# configuration file, then a value of '2' may be set here in order to
|
||||||
# suppress a warning message. This option has a default value of '0'.
|
# suppress a warning message. This option has a default value of '0'.
|
||||||
#
|
#
|
||||||
{% if ansible_distribution == 'Fedora' %}
|
{% if ansible_distribution_major_version|int < 22 %}
|
||||||
# Fedora doesn't set protocol in ssh config
|
# Fedora doesn't set protocol in ssh config
|
||||||
ALLOW_SSH_PROT_V1=2
|
ALLOW_SSH_PROT_V1=2
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue