Fabric is awesome tool, but it have very slow authorization on server with private keys by default.
Looks like fabric have some slow checks of known_hosts user file. You can avoid this. Also this can fix error in checking server fingerprint with services like amazon EC when you reinstall your server.
You can fix this simple and have fabric speedup like a charm :)
Just take a look in highlighted line on peace of environment setup code.
env.disable_known_hosts = True env.key_filename = [os.path.join(os.environ['HOME'], '.ssh','id_rsa')]
Subscribe to new posts by email