What are the correct sFTP settings for Ansible

15 views
Skip to first unread message

Baraka Baraka

unread,
Dec 25, 2018, 12:34:04 PM12/25/18
to Ansible Project
Hi!

I am having the problem on a DigitalOcean Ubuntu 18.04.1 LTS server, that when I ping the server with: "ansible all -m ping"
I get this error message: "[WARNING]: sftp transfer mechanism failed on [xxx.xxx.xxx.xxx]"

I went to the server's sshd_config file and tweeked until I got it working. Basically I needed to change this line: "Subsystem sftp  internal-sftp -f AUTH -l VERBOSE"

But I would love to know what are the proper and secure settings Ansible needs for sFTP, while I don't expose unnecessary parts of my system.

Thank you for any hint in this regard!

Merry Christmas for you all :)

Reply all
Reply to author
Forward
0 new messages