New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create connection with password? #1771
Comments
Connection(host="root@1.1.1.1", connect_kwargs={"password": "111111"}) |
I've almost 50 servers with the same username and password the how can i do it? each and every server and password i can't type. I would like to know how to do it? |
The best way is to use ssh keys. If you need to solve this you can add to your fabfile.py this lines before the task:
Best regards. |
tried but got the following exception :[server] Executing task 'uptime' Fatal error: Timed out trying to connect to c4t18815.itcs.hpe.com (tried 1 time) Underlying exception: Aborting. |
This is when my public key is present on the server:
This is when my public key is removed from the server:
How to pass password to Connection? P.S.: I could not find it in the new doccumentation(2.0).
The text was updated successfully, but these errors were encountered: