ssh popen stalling on password redirect output?

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Fri Jul 15 16:45:30 EDT 2005


supercomputer at gmail.com 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?

Sybren
-- 
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