Help needed with following error [WARNING]: sftp transfer mechanism failed on

Help needed with following error [WARNING]: sftp transfer mechanism failed on

We are getting above while trying to run a job can you let us know how can we change settings to have this error go away

In redhat article it says to have following settings enabled

Please check and modify /etc/ssh/sshd_config on your managed nodes to enable sftp on subsystem settings for sshd.

Raw

cat /etc/ssh/sshd_config | grep Subsystem Subsystem sftp /usr/libexec/openssh/sftp-server

Hi there, yes that instruction looks right. To clarify, you will need to make that sshd_config change on each of your managed hosts, and then restart the sshd service.

Do you still experience the problem after taking that step? there was also a lengthy discussion here that may provide more insight into this https://github.com/ansible/ansible/issues/22127