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

Commit bb96fd1

Browse files
authored
Fix PasswordAuthentication for sftp (#327)
Signed-off-by: Dan Michael O. Heggø <danmichaelo@gmail.com>
1 parent aacef86 commit bb96fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/opensshd.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Match Group sftponly
257257
{% endif %}
258258
AllowTcpForwarding no
259259
AllowAgentForwarding no
260-
PasswordAuthentication no
260+
PasswordAuthentication {{ 'yes' if (ssh_server_password_login|bool) else 'no' }}
261261
PermitRootLogin no
262262
X11Forwarding no
263263
{% endif %}

0 commit comments

Comments
 (0)