popen3 and ssh

Gillou nospam at bigfoot.com
Sat Aug 11 13:57:30 EDT 2001


Hi,

Sorry, I've no answer to your question but I'm looking for a way to send a
shell command and retrieve the result to a ssh server (you already
succeeded).
Can you please tell how ?

TIA

--Gillou glenfant at bigfoot.com

Warning: the "sender" of this message is a "no spam" address.

"Michele Campeotto" <micampe at f2s.com> a écrit dans le message news:
3B73E5C6.2080200 at f2s.com...
>    Hi, I'm trying to connect to CVS via SSH from a Python script, it
> works fine when used over a network, but on a local machine it seems
> that SSH doesn't get the password that I'm sending... anybody can give
> an hint?
>
>    cvs_input.write(self.password + '\n')
>
>    (cvs_input comes from the popen3 call)
>
> --
>    Michele - www.moleskine.f2s.com
>





More information about the Python-list mailing list