handle ubuntu's sftp path
parent
4ac046a93b
commit
3bff74a403
|
@ -109,7 +109,12 @@ X11Forwarding no
|
||||||
# override default of no subsystems
|
# override default of no subsystems
|
||||||
{% if ansible_distribution == "OpenBSD" %}
|
{% if ansible_distribution == "OpenBSD" %}
|
||||||
Subsystem sftp /usr/libexec/sftp-server
|
Subsystem sftp /usr/libexec/sftp-server
|
||||||
|
{% elif ansible_distribution == "Alpine" %}
|
||||||
|
Subsystem sftp /usr/lib/ssh/sftp-server
|
||||||
|
{% elif ansible_distribution == "Ubuntu" %}
|
||||||
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
{% else %}
|
{% else %}
|
||||||
|
# I don't know what OS that is, Ansible guessed on using the same config as Alpine
|
||||||
Subsystem sftp /usr/lib/ssh/sftp-server
|
Subsystem sftp /usr/lib/ssh/sftp-server
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue