ssh popen stalling on password redirect output?

Sybren Stuvel sybrenUSE at
Fri Jul 15 22:45:30 CEST 2005

supercomputer at enlightened us with:
> I have a script that I cycle through nodes connect to them and run
> uptime to get some information.  I run the script as root so it
> doesn't require a password on the rest of the nodes.  It does
> however barf on the nodes that are having trouble and require a
> different password.  Is there an easy way to skip these nodes?
> Maybe redirect the password prompt to stdout or stderr or even skip
> them?

Why not set up proper public/private key authentication, and don't
bother with passwords at all?

The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa

More information about the Python-list mailing list