paramiko/paramiko — pull request #110 by fairview (2012-11-16 23:38:41+00:00)
Title: SSH config handling can be slow

The timing of the ProxyCommand support was impeccable, but I noticed that when I started using my SSH config, my Fabric runs were excruciatingly slow. I traced it to the use of socket.getfqdn() in config.SSHConfig._expand_variables. This is an admittedly convoluted fix, but it's much, much faster for me.