[Tutor] Telnet to cisco device

Hugo González Monteverde hugonz-lists at h-lab.net
Tue Feb 28 08:31:08 CET 2006


Hi Gideon,

Seems that you're looking for some prompts, but are you sure they are 
presented as such from the server? For example, your password prompt has 
a space after the colon:

> tn.read_until('Password: ') #expected prompt after putting in the username

Have you tested what you are supposed to be getting  with the 
read_some(1) method??? Try that first, and check that the information 
you expect is actually the one you should be getting from the server.

Hope that gets you on te way to troubleshoot it.

Hugo


More information about the Tutor mailing list