> 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 ?
When you have an ssh-agent running that has the key loaded, paramiko will automatically use that. If you don't have an ssh-agent running, you have to pass either the pkey or the key_filename argument; the former should be a PKey object (either RSAKey or DSSKey). Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list