Skip to content

Ansible: Failed to connect to the host via scp: /usr/lib/sftp-server: No such file or directory #449

Closed Locked Answered by tenthirtyam
akulbe asked this question in Help
Discussion options

You must be logged in to vote

Please note that this project is only tested based on the operating systems and versions as noted in the README.md - your mileage may vary on alternatives.

Try adding the following to the ansible/ansible.cfg file as noted in the README for another tested OS.:

[ssh_connection]
scp_extra_args = "-O"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tenthirtyam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
status/answered Answered area/ansible Area: Ansible
2 participants