Mike Hjorleifsson wrote: > I wrote a lil module using paramiko's module to send a file via > sftp.. it works great using the username and password. > I would prefer to use id_dsa.pub to have an autologon and not save > the > password anywhere on the disk.. I cant find a good example of this. > Can anyone help ?
Hi Mike, If you download the Paramiko zip archive: http://www.lag.net/paramiko/download/paramiko-1.7.2.zip You can find examples of loading and using public/private keys for automated logins in the code under the "demos" sub folder. Cheers, Todd -- http://mail.python.org/mailman/listinfo/python-list