Creative autorun in Windows

Relevant question:

  • fabric password

I configured Putty to log in with private keys (without password) using this guide: http://www.codelathe.com/blog/index.php/2009/02/20/ssh-without-password-using-putty/

He works.

Now I want to start Fabric without prompting for a password. This does not work, and I will be prompted for a password. I assume that Paramiko (or some other Fabric dependency) does not find the ppk file. Where do I place the private key file and how can I say / paramiko about it?

Works on Vista using Python 2.6.5 and latest Fabric (0.91) / Putty (0.60).

+7
python windows ssh fabric paramiko
source share
1 answer

Adding the following to your fabfile.py should work:

 env.user = "your_username" env.key_filename = ["/path/to/keyfile"] 

See fabric docs .

+9
source share

All Articles