In general, it is good idea to use expect kind of tool to deal with interactive programs like ssh. You may try using pexpect (http://pexpect.sourceforge.net).
-- http://mail.python.org/mailman/listinfo/python-list
In general, it is good idea to use expect kind of tool to deal with interactive programs like ssh. You may try using pexpect (http://pexpect.sourceforge.net).
-- http://mail.python.org/mailman/listinfo/python-list