file transfer question

David Wolfe da5id at LUVSPAMwolfe.name
Wed Apr 30 09:33:30 EDT 2003


> > but what's happening is that when i execute the code, i get prompted
> > for the password by ssh...

This is normal.  You could use a passphraseless key, but if you care
enough to use SSH in the first place, you probably shouldn't.  Try
using an 'authentication agent' to store your (enencrypted) keys in
memory; that way you only have to type in the passphrase once per
session.  OpenSSH comes with a program called ssh-agent (man ssh-agent)
that will do the trick.  On Windows, try Pageant/PuTTY:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

HTH...






More information about the Python-list mailing list