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

Commit d8a16f1

Browse files
Sýlvan HeuserSýlvan Heuser
authored andcommitted
Remove deprecated UseLogin option
Since OpenSSH 7.4/7.4p1 (2016-12-19)[0] (The default in Debian Stretch, CentOS 7 and others) the "UseLogin" option has been deprecated. Setting this option originally prevented usage of a "traditional" /usr/sbin/login-based login – but has been set to "no" by default since quite a while, so even if this role would be applied on a host with an older OpenSSH version, the default value should still be save. Fixes #140 0. https://www.openssh.com/txt/release-7.4
1 parent 5a96607 commit d8a16f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

templates/opensshd.conf.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ LogLevel VERBOSE
110110
# --------------
111111

112112
# Secure Login directives.
113-
UseLogin no
114113
UsePrivilegeSeparation {% if (ansible_distribution == 'Debian' and ansible_distribution_major_version <= '6') or (ansible_os_family in ['Oracle Linux', 'RedHat'] and ansible_distribution_major_version <= '6') -%}{{ssh_ps53}}{% else %}{{ssh_ps59}}{% endif %}
115114

116115
LoginGraceTime 30s

0 commit comments

Comments
 (0)