ssh and Python
Erno Kuusela
erno-news at erno.iki.fi
Mon Jul 22 07:12:20 EDT 2002
More information about the Python-list mailing list
Mon Jul 22 07:12:20 EDT 2002
- Previous message (by thread): NEWBIE: Removing HTML/JavaScript from a webpage
- Next message (by thread): ssh and Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <mailman.1027333171.25608.python-list at python.org>, "Bo M. Maryniuck" <b.maryniuk at forbis.lt> writes: | On Sunday 21 July 2002 20:34, John Hunter wrote: || import os || h = os.popen('ssh -2 somehost.com ls') || print h.read() | That's solves half of problem. How to automatically pass the password? Yes, | you need a pipe to write in... use a rsa key with ssh-agent (or without passphrase if you need it to run unattended). -- erno
- Previous message (by thread): NEWBIE: Removing HTML/JavaScript from a webpage
- Next message (by thread): ssh and Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list