I am using Ansible to copy a file from Debian to XP running on the same 
machine on Virtualbox. Copying the file (437KB) using ssh as transport is 
taking 5 secs. I profiled the same copy operation using scp and that takes 
~820ms.

I am using ssh 5.5 on Debian squeeze and hence don't have ControlPersist 
support. I have set in ansible.cfg: [defaults] ... transport = ssh

[ssh_connection] ssh_args = -o GSSAPIAuthentication=no -o 
GSSAPIKeyExchange=no -o AddressFamily=inet -o Ciphers=arcfour,blowfish-cbc 
scp_if_ssh = True

I am using Ansible 1.6.6.

How can I better the speed, close to that of scp? Am I missing some 
configuration?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/116a30d3-374e-4292-b16d-9582eaff4f0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to