SSH_alt is live

Hi all, just wanted to let you know that the ssh_alt connection type is now live in the development branch simply as “ssh”. The previous SSH implementation is still available as
“-c ssh_old”, just in case anyone runs into any issues with the new code. We’ve also added the same pipelining capability to the paramiko connection type, as it showed a 5-10% benefit in some basic testing. The previous paramiko connection is also available as paramiko_old.

For those who may have missed some of the prior discussion on this, please see the following blog post for details:

http://blog.ansibleworks.com/2014/01/15/ssh-connection-upgrades-coming-in-ansible-1-5/

Once again, thanks to Jerome for his incredible work here, and please let us know if you run into any issues with the new connections.

Thanks!

Thanks James

Quick update for clarification, we plan to remove the “_old” before launch of 1.5.

So, it’s there in case anyone yells before we can fix anything should those happen, basically :slight_smile:

We’ve gone ahead and reverted the new paramiko pipelining changes as they were causing some issues with sudo commands. This code has been moved back to paramiko_alt, so people can continue to test with it as we look into the issues.

Thanks!

Hey all, one additional update.

We’ve identified a potential issue for some users when using the new pipelined connection, which is the fact that commands run through sudo require that requiretty be disabled in sudoers. To prevent this from causing issues for some users, we’ve added a new configuration option: pipelining = True|False in ansible.cfg under the [ssh_connection] section, or ANSIBLE_SSH_PIPELINING as an environment variable.

We’ve also updated the original blog post to reflect this change:

http://blog.ansibleworks.com/2014/01/15/ssh-connection-upgrades-coming-in-ansible-1-5/

Thanks!