need wrapper for ssh/scp

Andrew Patterson andrew at fc.hp.com
Wed Mar 29 12:29:01 EST 2000


Ralf Hildebrandt wrote:
> 
> On Wed, 29 Mar 2000 09:37:09 -0700, Andrew Patterson <andrew at fc.hp.com> wrote:
> >Does anyone have a wrapper or example code that will allow me to use ssh
> >and
> >scp in a python script. Normally you would use some form of popen, but
> >I can't seem to feed ssh/scp a passphrase.
> 
> You can circumvent this if you use RSA authentification.

I am using RSA authentification (only).  All the ssh clients still ask
for a passprase (which is protecting the private key) unless I use
ssh-agent.  Do you know of a way to bypass this?

Andrew

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   Andrew Patterson                          Voice:  (970) 898-3261
   Hewlett-Packard Company/DSL               FAX:    (970) 898-2180
   3404 East Harmony Road / MS 7             email: andrew at fc.hp.com
   Fort Collins, Colorado  80525



More information about the Python-list mailing list