[rancid] FXOS debugging

Ryan West rwest at zyedge.com
Tue Nov 27 16:34:22 UTC 2018


I lost the ability to reply inline easily, but here it is.

rancid at netman:~$ fxlogin -d -c 'show model' custname-den-fw1
custname-den-fw1
spawn ssh -c 3des-cbc,aes128-cbc,aes256-cbc,aes256-ctr -x -l admin custname-den-fw1
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {2858}
Gate keeper glob pattern for '^<-+ More -+>[^
]*' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '(Connection refused|Secure connection [^
]+ refused)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '(Connection closed by|Connection to [^
]+ closed)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '(Host key not found |The authenticity of host .* be established)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'HOST IDENTIFICATION HAS CHANGED' is 'HOST IDENTIFICATION HAS CHANGED'. Activating booster.
Gate keeper glob pattern for 'Offending key for ' is 'Offending key for '. Activating booster.
Gate keeper glob pattern for '^warning: remote host denied authentication agent forwarding.' is 'warning: remote host denied authentication agent forwarding?'. Activating booster.
Gate keeper glob pattern for '(denied|Sorry)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'last login:' is 'last login:'. Activating booster.
Gate keeper glob pattern for 'failed login:' is 'failed login:'. Activating booster.
Gate keeper glob pattern for '% (Bad passwords|Authentication failed)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'Enter Selection: ' is 'Enter Selection: '. Activating booster.
Gate keeper glob pattern for 'Press the <tab> key [^
]+[
]+' is 'Press the <tab> key *'. Activating booster.
Gate keeper glob pattern for '@[^
]+ ([Pp]assword|passwd|Enter password for [^ :]+):' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'Enter passphrase.*: ' is 'Enter passphrase*: '. Activating booster.
Gate keeper glob pattern for '([Uu]sername|Login|login|user name|User):' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '([Pp]assword|passwd|Enter password for [^ :]+):' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '^([^ >]*)(>|#)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '[^
]*[
]+' is ''. Not usable, disabling the performance booster.

expect: does "" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
admin at custname-den-fw1's password:
expect: does "admin at custname-den-fw1's password: " (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "admin at custname-den-fw1's password: " (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "admin at custname-den-fw1's password: " (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "admin at custname-den-fw1's password: " (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "admin at custname-den-fw1's password: " (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "admin at custname-den-fw1's password: " (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "admin at custname-den-fw1's password: " (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "@custname-den-fw1's password:"
expect: set expect_out(1,string) "password"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "admin at custname-den-fw1's password:"
send: sending "hipassword\r" to { exp5 }
expect: continuing expect

expect: does " " (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does " " (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does " " (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does " " (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does " " (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does " " (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does " " (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no


expect: does " \r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does " \r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does " \r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does " \r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does " \r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does " \r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does " \r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " \r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " \r\n"
expect: continuing expect

expect: does "" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
Last login: Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0

expect: does "Last login: Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "Last login: Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "Last login: Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "Last login: Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "Last login: Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "Last login: Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=yes re=yes
expect: set expect_out(0,string) "Last login:"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "Last login:"
expect: continuing expect

expect: does " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) " Tue Nov 27 16:26:21 UTC 2018 from 205.177.112.120 on pts/0\r\n"
expect: continuing expect

expect: does "" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
Successful login attempts for user 'admin' : 11


expect: does "Successful login attempts for user 'admin' : 11\r\n\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "Successful login attempts for user 'admin' : 11\r\n\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "Successful login attempts for user 'admin' : 11\r\n\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "Successful login attempts for user 'admin' : 11\r\n\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "Successful login attempts for user 'admin' : 11\r\n\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "Successful login attempts for user 'admin' : 11\r\n\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "Successful login attempts for user 'admin' : 11\r\n\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Successful login attempts for user 'admin' : 11\r\n\r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "Successful login attempts for user 'admin' : 11\r\n\r\n"
expect: continuing expect

expect: does "" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved.
Cisco is a registered trademark of Cisco Systems, Inc.
All other trademarks are property of their respective owners.

expect: does "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\nCisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\nCisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\nCisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\nCisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\nCisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\nCisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\nCisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "Copyright 2004-2017, Cisco and/or its affiliates. All rights reserved. \r\n"
expect: continuing expect

expect: does "Cisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "Cisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "Cisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "Cisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "Cisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "Cisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "Cisco is a registered trademark of Cisco Systems, Inc. \r\nAll other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Cisco is a registered trademark of Cisco Systems, Inc. \r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "Cisco is a registered trademark of Cisco Systems, Inc. \r\n"
expect: continuing expect

expect: does "All other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "All other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "All other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "All other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "All other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "All other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "All other trademarks are property of their respective owners.\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "All other trademarks are property of their respective owners.\r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "All other trademarks are property of their respective owners.\r\n"
expect: continuing expect

expect: does "" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no

Cisco Fire Linux OS v6.2.2 (build 11)
Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)


expect: does "\r\nCisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "\r\nCisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "\r\nCisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "\r\nCisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "\r\nCisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "\r\nCisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "\r\nCisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "\r\n"
expect: continuing expect

expect: does "Cisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "Cisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "Cisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "Cisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "Cisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "Cisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "Cisco Fire Linux OS v6.2.2 (build 11)\r\nCisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Cisco Fire Linux OS v6.2.2 (build 11)\r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "Cisco Fire Linux OS v6.2.2 (build 11)\r\n"
expect: continuing expect

expect: does "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) "Cisco Firepower 2130 Threat Defense v6.2.2 (build 81)\r\n\r\n"
expect: continuing expect

expect: does "" (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "" (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "" (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "" (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "" (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "" (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=no
"Login invalid"? no
"[^\r\n]*[\r\n]+"? (No Gate, RE only) gate=yes re=no
>
expect: does "> " (spawn_id exp5) match regular expression "^<-+ More -+>[^\n\r]*"? (No Gate, RE only) gate=yes re=no
"(Connection refused|Secure connection [^\n\r]+ refused)"? (No Gate, RE only) gate=yes re=no
"(Connection closed by|Connection to [^\n\r]+ closed)"? (No Gate, RE only) gate=yes re=no

expect: does "> " (spawn_id exp5) match glob pattern "unknown host\r"? no

expect: does "> " (spawn_id exp5) match glob pattern "Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established)"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED"? Gate "HOST IDENTIFICATION HAS CHANGED"? gate=no
"Offending key for "? Gate "Offending key for "? gate=no

expect: does "> " (spawn_id exp5) match regular expression "^warning: remote host denied authentication agent forwarding."? Gate "warning: remote host denied authentication agent forwarding?"? gate=no

expect: does "> " (spawn_id exp5) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no

expect: does "> " (spawn_id exp5) match regular expression "last login:"? Gate "last login:"? gate=no
"failed login:"? Gate "failed login:"? gate=no

expect: does "> " (spawn_id exp5) match glob pattern "Login failed"? no
"% (Bad passwords|Authentication failed)"? (No Gate, RE only) gate=yes re=no
"Press any key to continue"? no
"Enter Selection: "? Gate "Enter Selection: "? gate=no
"Press the <tab> key [^\r\n]+[\r\n]+"? Gate "Press the <tab> key *"? gate=no
"@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"([Uu]sername|Login|login|user name|User):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd|Enter password for [^ :]+):"? (No Gate, RE only) gate=yes re=no
"^([^ >]*)(>|#)"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) ">"
expect: set expect_out(1,string) ""
expect: set expect_out(2,string) ">"
expect: set expect_out(spawn_id) "exp5"
expect: set expect_out(buffer) ">"
send: sending "show model\r" to { exp5 }
invalid command name "^-"
    while executing
"^-"
    invoked from within
"expect {
            -re "\b+"                           { exp_continue }
            -re "^\[^\n\r *]*$reprompt"         { send_user -- "$expect_out(buffer)"
                                                }
            -re "^\[^\n\r]*$reprom..."
    (procedure "run_commands" line 36)
    invoked from within
"run_commands $prompt $command"
    ("foreach" body line 206)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    # attempt at platform switching.
    set platform ""
    send_user ..."
    (file "/usr/local/rancid/bin/fxlogin" line 870)

Thanks,

-ryan



More information about the Rancid-discuss mailing list