[paramiko] can we send encrypted password in connect()
Manpreet Singh Khurana
manpreetsk at gmail.com
Mon Nov 6 03:28:37 PST 2006
Hi,
i have been using paramiko for a while and just upgraded with latest 1.6.3.
I have a installation script which takes username and password from
the user and stores in clear text in the .cfg file. Now this username
and clear text password in .cfg file is given as input to my python
application which establishes connection to the server.
Now i want this password to be encrypted in .cfg file.
how can we do this thru paramiko.
Do we have api which takes clear text password and ssh public key as
input and generate a encryted password. from it?
Can paramiko then can use this encryted password as one of the
parameter in connect() api and do the authentication or is there
anyother way to do this.
Can somebody suggest exact steps to do this.
(I mean steps like if i have username and password then what all steps
we need to ssh the server using encrypted pasword)
please advice.
Regards
Manpreet
More information about the paramiko
mailing list