Hi all,
I am using this ansible.cfg
[defaults]
host_key_checking=false
ansible_user=ich
ansible_ssh_private_key_file=/home/mylocation/key
remote_user = root
transport=smart
[ssh_connection]
scp_if_ssh=True
When I tail /var/log/secure on the remote machine I see the login attempt but it is trying sftp instead of scp.
Jan 25 09:52:36 hostx sshd[7164]: Accepted publickey for root from 10.10.10.10 port 58673 ssh2
Jan 25 09:52:36 hostx sshd[7164]: subsystem request for sftp
Jan 25 09:52:36 hostx sshd[7164]: subsystem request for sftp failed, subsystem not found
Anything I am missing?