Skip to content

Commit

Permalink
Fix PasswordAuthentication for sftp (dev-sec#327)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Michael O. Heggø <danmichaelo@gmail.com>
  • Loading branch information
danmichaelo committed Oct 9, 2020
1 parent 78e646c commit cccaf09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/opensshd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Match Group sftponly
{% endif %}
AllowTcpForwarding no
AllowAgentForwarding no
PasswordAuthentication no
PasswordAuthentication {{ 'yes' if (ssh_server_password_login|bool) else 'no' }}
PermitRootLogin no
X11Forwarding no
{% endif %}
Expand Down

0 comments on commit cccaf09

Please sign in to comment.