[paramiko] can we send encrypted password in connect()

Manpreet Singh Khurana manpreetsk at gmail.com
Tue Nov 7 02:22:58 PST 2006


Can you please advice me which API in paramiko class should i use to
achieve this!

Manpreet

On 11/7/06, Mike Looijmans <nlv11281 at natlab.research.philips.com> wrote:
> The nice thing with SSH (and paramiko) is that you don't need the password. Never. The private key
> file is all you need to communicate with other machines. The public key must be added to the
> authorized_keys file.
>
>
> Mike Looijmans
> Philips Natlab / Topic Automation
>
>
> Manpreet Singh Khurana wrote:
> > 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
> >
> > _______________________________________________
> > paramiko mailing list
> > paramiko at lag.net
> > http://www.lag.net/mailman/listinfo/paramiko
> >
>
>



More information about the paramiko mailing list