开发者

'Invalid Key' error from Paramiko

开发者 https://www.devze.com 2022-12-16 15:34 出处:网络
I\'m trying to set up Fabric for deploying my Python web application and Paramiko开发者_开发知识库 is barfing on my private RSA key.I had been using my key successfully for 6 months, so I know it\'s g

I'm trying to set up Fabric for deploying my Python web application and Paramiko开发者_开发知识库 is barfing on my private RSA key. I had been using my key successfully for 6 months, so I know it's good. In case having a passphrase was the problem, I just made a new key with no passphrase and still get the error. Help?


I don't know if this helps you but here's how I set my SSH user/key in fabric.

env.user = "username"
env.key_filename = "/path/to/ssh/keyfile"

And it seems to work fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消