call scp from python

J

Josef Meile

You can either use os.system or some of the popen functions of the os
module.

Regards,
Josef
 
P

Peter Hansen

Josef said:
You can either use os.system or some of the popen functions of the os
module.

But only if you can set it up to run in batch mode, without asking
for passwords *or* a passphrase. Otherwise you need a pty to get it to
work. Past threads in the newsgroup have covered this topic as well.

Search Google Groups for "group:comp.lang.python scp popen" for more.

-Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top