<div dir="ltr"><div>Here is the debug log.</div><div><br></div><div>===============================================</div><div>-sh-3.00$ /usr/local/rancid/bin/clogin -d -f /usr/local/rancid/.cloginrc exswitch</div><div>exswitch</div>
<div>spawn telnet exswitch</div><div>parent: waiting for sync byte</div><div>parent: telling child to go ahead</div><div>parent: now unsynchronized from child</div><div>spawn: returns {5240}</div><div><br></div><div>expect: does "" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does "" (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does "" (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div>Trying 10.81.8.92...</div><div>Connected to exswitch (10.81.8.92).</div><div>Escape character is '^]'.</div><div><br></div>
<div>expect: does "Trying 10.81.8.92...\r\r\nConnected to exswitch (10.81.8.92).\r\r\nEscape character is '^]'.\r\r\n" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does "Trying 10.81.8.92...\r\r\nConnected to exswitch (10.81.8.92).\r\r\nEscape character is '^]'.\r\r\n" (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does "Trying 10.81.8.92...\r\r\nConnected to exswitch (10.81.8.92).\r\r\nEscape character is '^]'.\r\r\n" (spawn_id exp4) match glob pattern "Host is unreachable"? no</div>
<div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div><div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div>
<div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div><div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>
"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"(>|#| \(enable\))"? no</div>
<div>"Login invalid"? no</div><div><br></div><div>telnet session telnet0 on /dev/ptyb0</div><div><br></div><div><br></div><div>login: </div><div>expect: does "Trying 10.81.8.92...\r\r\nConnected to exswitch (10.81.8.92).\r\r\nEscape character is '^]'.\r\r\n\r\ntelnet session telnet0 on /dev/ptyb0\r\n\r\n\r\nlogin: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does "Trying 10.81.8.92...\r\r\nConnected to exswitch (10.81.8.92).\r\r\nEscape character is '^]'.\r\r\n\r\ntelnet session telnet0 on /dev/ptyb0\r\n\r\n\r\nlogin: " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does "Trying 10.81.8.92...\r\r\nConnected to exswitch (10.81.8.92).\r\r\nEscape character is '^]'.\r\r\n\r\ntelnet session telnet0 on /dev/ptyb0\r\n\r\n\r\nlogin: " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div>
<div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div><div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div>
<div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div><div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>
"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? yes</div><div>expect: set expect_out(0,string) "login:"</div><div>expect: set expect_out(1,string) "login"</div>
<div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) "Trying 10.81.8.92...\r\r\nConnected to exswitch (10.81.8.92).\r\r\nEscape character is '^]'.\r\r\n\r\ntelnet session telnet0 on /dev/ptyb0\r\n\r\n\r\nlogin:"</div>
<div>send: sending "admin\r" to { exp4 }</div><div>expect: continuing expect</div><div><br></div><div>expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div>login: </div><div>expect: does " \r\u001b[Klogin: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " \r\u001b[Klogin: " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " \r\u001b[Klogin: " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? yes</div><div>expect: set expect_out(0,string) "login:"</div>
<div>expect: set expect_out(1,string) "login"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) " \r\u001b[Klogin:"</div><div>send: sending "admin\r" to { exp4 }</div>
<div>expect: continuing expect</div><div><br></div><div>expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div><div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div>
<div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div>
<div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div><div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div>
<div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div><div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>
"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"(>|#| \(enable\))"? no</div>
<div>"Login invalid"? no</div><div>admin</div><div>password: </div><div>expect: does " admin\r\n\rpassword: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div><div>
"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " admin\r\n\rpassword: " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " admin\r\n\rpassword: " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? yes</div>
<div>expect: set expect_out(0,string) "password:"</div><div>expect: set expect_out(1,string) "password"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) " admin\r\n\rpassword:"</div>
<div>send: sending "pass01\r" to { exp4 }</div><div>expect: continuing expect</div><div><br></div><div>expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div><br></div><div><br></div><div>Login incorrect</div><div><br></div><div>login: </div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin: " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin: " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div>
<div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div>
<div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div><div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div>
<div>"Enter Selection: "? no</div><div>"Last login:"? no</div><div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? yes</div>
<div>expect: set expect_out(0,string) "login:"</div><div>expect: set expect_out(1,string) "login"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin:"</div>
<div>send: sending "admin\r" to { exp4 }</div><div>expect: continuing expect</div><div><br></div><div>expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div>pass01</div><div><br></div><div>expect: does " pass01\r\n\r" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " pass01\r\n\r" (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " pass01\r\n\r" (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div>password: </div><div>expect: does " pass01\r\n\rpassword: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " pass01\r\n\rpassword: " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " pass01\r\n\rpassword: " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? yes</div>
<div>expect: set expect_out(0,string) "password:"</div><div>expect: set expect_out(1,string) "password"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) " pass01\r\n\rpassword:"</div>
<div>send: sending "pass01\r" to { exp4 }</div><div>expect: continuing expect</div><div><br></div><div>expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div><br></div><div><br></div><div>Login incorrect</div><div><br></div><div>login: </div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin: " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin: " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div>
<div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div>
<div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div><div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div>
<div>"Enter Selection: "? no</div><div>"Last login:"? no</div><div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? yes</div>
<div>expect: set expect_out(0,string) "login:"</div><div>expect: set expect_out(1,string) "login"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) " \r\n\r\r\n\rLogin incorrect\r\n\r\nlogin:"</div>
<div>send: sending "admin\r" to { exp4 }</div><div>expect: continuing expect</div><div><br></div><div>expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div>pass01</div><div><br></div><div>expect: does " pass01\r\n\r" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " pass01\r\n\r" (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " pass01\r\n\r" (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div>password: </div><div>expect: does " pass01\r\n\rpassword: " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " pass01\r\n\rpassword: " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " pass01\r\n\rpassword: " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? yes</div>
<div>expect: set expect_out(0,string) "password:"</div><div>expect: set expect_out(1,string) "password"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) " pass01\r\n\rpassword:"</div>
<div>send: sending "pass01\r" to { exp4 }</div><div>expect: continuing expect</div><div><br></div><div>expect: does " " (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div>
<div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div>
<div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div>
<div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div><br></div><div><br></div><div>Login incorrect</div><div>Maximum number of login attempts reached!</div><div><br></div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\nMaximum number of login attempts reached!\r\n" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div><div><br></div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\nMaximum number of login attempts reached!\r\n" (spawn_id exp4) match glob pattern "unknown host\r"? no</div>
<div><br></div><div>expect: does " \r\n\r\r\n\rLogin incorrect\r\nMaximum number of login attempts reached!\r\n" (spawn_id exp4) match glob pattern "Host is unreachable"? no</div><div>"No address associated with name"? no</div>
<div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div>
<div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div><div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div><div>"Press any key to continue"? no</div>
<div>"Enter Selection: "? no</div><div>"Last login:"? no</div><div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div>
<div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"(>|#| \(enable\))"? no</div><div>"Login invalid"? no</div><div>Connection closed by foreign host.</div><div><br></div>
<div>expect: does " \r\n\r\r\n\rLogin incorrect\r\nMaximum number of login attempts reached!\r\nConnection closed by foreign host.\r\r\n" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div>
<div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? yes</div><div>expect: set expect_out(0,string) "Connection closed by"</div>
<div>expect: set expect_out(1,string) "Connection closed by"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) " \r\n\r\r\n\rLogin incorrect\r\nMaximum number of login attempts reached!\r\nConnection closed by"</div>
<div>spawn ssh -c 3des -x -l admin exswitch</div><div>parent: waiting for sync byte</div><div>parent: telling child to go ahead</div><div>parent: now unsynchronized from child</div><div>spawn: returns {5247}</div><div><br>
</div><div>expect: does "" (spawn_id exp4) match regular expression "^<-+ More -+>[^\n\r]*"? no</div><div>"(Connection refused|Secure connection [^\n\r]+ refused)"? no</div><div>"(Connection closed by|Connection to [^\n\r]+ closed)"? no</div>
<div><br></div><div>expect: does "" (spawn_id exp4) match glob pattern "unknown host\r"? no</div><div><br></div><div>expect: does "" (spawn_id exp4) match glob pattern "Host is unreachable"? no</div>
<div>"No address associated with name"? no</div><div>"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? no</div><div>"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? no</div>
<div>"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? no</div><div>"Offending key for .* \(yes/no\)\?"? no</div><div>"(denied|Sorry)"? no</div><div>"Login failed"? no</div><div>"% (Bad passwords|Authentication failed)"? no</div>
<div>"Press any key to continue"? no</div><div>"Enter Selection: "? no</div><div>"Last login:"? no</div><div>"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>
"Enter passphrase.*: "? no</div><div>"(Username|Login|login|user name|User):"? no</div><div>"([Pp]assword|passwd|Enter password for [^ :]+):"? no</div><div>"(>|#| \(enable\))"? no</div>
<div>"Login invalid"? no</div><div>expect: timed out</div><div><br></div><div>Error: TIMEOUT reached</div><div>===============================================</div><div><br></div></div>