cannot get pexpect to work

Andrei dreico at wanadoo.fr
Fri Aug 29 10:21:28 EDT 2003


Hi,

I'm at a crucial stage in the development of a wide area (multi-host) ssh
wrapper, and need to control what happens when a host requires password
authentication. After installing pexpect, the example script that looks most
inclined to help me (by basically handling this situation,) "passmass.py"
seems to fail, from whatever host to whatever host eg.

[user1 at baddog01 scripts]$ ./passmass.py localhost
Username: user1
Current Password:
New Password:
Confirm New Password:
'Timeout exceeded in read().'   <<< ?

Does anyone have a clue what's going on?

Many thanks

Andrei.






More information about the Python-list mailing list