DEBUG:paramiko.transport:starting thread (client mode): 0xc4c66320
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.4.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-Cisco-1.25
INFO:paramiko.transport:Connected (version 2.0, client Cisco-1.25)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: diffie-hellman-group1-sha1
DEBUG:paramiko.transport:server key: ssh-rsa
DEBUG:paramiko.transport:client encrypt: aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr
DEBUG:paramiko.transport:server encrypt: aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr
DEBUG:paramiko.transport:client mac: hmac-sha1, hmac-sha1-96
DEBUG:paramiko.transport:server mac: hmac-sha1, hmac-sha1-96
DEBUG:paramiko.transport:client compress: none
DEBUG:paramiko.transport:server compress: none
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: diffie-hellman-group1-sha1
DEBUG:paramiko.transport:HostKey: ssh-rsa
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha1
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexGroup1 specified hash_algo <built-in function openssl_sha1>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-rsa host key for 172.31.142.14: b'cb9cd264fd6ee3861e726078c83a4600'
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 0] Max packet out: 4096 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:write_channel: b'show curpriv\n'
DEBUG:netmiko:read_channel: Type help or '?' for a list of available commands.
ciscoasa/admin> 
ciscoasa/admin> 
DEBUG:netmiko:read_channel: show curpriv
Username : user
Current privilege level : 1
Current Mode/s : P_UNPR
ciscoasa/admin> 
DEBUG:netmiko:Pattern found: (show\ curpriv) Type help or '?' for a list of available commands.
ciscoasa/admin> 
ciscoasa/admin> show curpriv
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin> 
DEBUG:netmiko:
Parenthesis found in pattern.

pattern: (\#|>)


This can be problemtic when used in read_until_pattern().

You should ensure that you use either non-capture groups i.e. '(?:' or that the
parenthesis completely wrap the pattern '(pattern)'
DEBUG:netmiko:Pattern found: (\#|>) 
ciscoasa/admin>
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:[find_prompt()]: prompt is ciscoasa/admin>
DEBUG:netmiko:write_channel: b'login\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: login
Username: 
DEBUG:netmiko:Pattern found: (login) login
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'user\n'
DEBUG:netmiko:read_channel: user
Password: 
DEBUG:netmiko:write_channel: b'********\n'
DEBUG:netmiko:read_channel: ***********
ciscoasa/admin# 
DEBUG:netmiko:In disable_paging
DEBUG:netmiko:Command: terminal pager 0

DEBUG:netmiko:write_channel: b'terminal pager 0\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: terminal pager 0

DEBUG:netmiko:Pattern found: (terminal\ pager\ 0) terminal pager 0
DEBUG:netmiko:terminal pager 0
DEBUG:netmiko:Exiting disable_paging
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: ciscoasa/admin# 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin#
DEBUG:netmiko:write_channel: b'configure terminal\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin# 
DEBUG:netmiko:read_channel: configure terminal
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: (configure\ terminal)  
ciscoasa/admin# configure terminal
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Pattern found: (ciscoasa/admin.*) 
ciscoasa/admin(config)# 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin(config)#
DEBUG:netmiko:write_channel: b'terminal width 511\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: terminal width 
DEBUG:netmiko:read_channel: 511
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: (terminal\ width\ 511)  terminal width 511
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Pattern found: ((?:ciscoasa/admin.*$|#.*$)) 
ciscoasa/admin(config)# 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin(config)#
DEBUG:netmiko:write_channel: b'end\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: end
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: (end)  end
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Pattern found: (#.*) 
ciscoasa/admin# 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin#
DEBUG:netmiko:exit_config_mode:  end
ciscoasa/admin# 
DEBUG:netmiko: 
ciscoasa/admin# configure terminal
ciscoasa/admin(config)#  terminal width 511
ciscoasa/admin(config)#  end
ciscoasa/admin# 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin# 
DEBUG:netmiko:
Parenthesis found in pattern.

pattern: (\#|>)


This can be problemtic when used in read_until_pattern().

You should ensure that you use either non-capture groups i.e. '(?:' or that the
parenthesis completely wrap the pattern '(pattern)'
DEBUG:netmiko:Pattern found: (\#|>) 
ciscoasa/admin#
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:[find_prompt()]: prompt is ciscoasa/admin#
DEBUG:netmiko:write_channel: b'login\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: login
                   ^
ERROR: % Invalid input detected at '^' marker.
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: (login) login
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'login\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: login
                   ^
ERROR: % Invalid input detected at '^' marker.
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: (login) login
DEBUG:netmiko:read_channel: 
DEBUG:paramiko.transport:starting thread (client mode): 0x1fc6a3e0
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.4.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-Cisco-1.25
INFO:paramiko.transport:Connected (version 2.0, client Cisco-1.25)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: diffie-hellman-group1-sha1
DEBUG:paramiko.transport:server key: ssh-rsa
DEBUG:paramiko.transport:client encrypt: aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr
DEBUG:paramiko.transport:server encrypt: aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr
DEBUG:paramiko.transport:client mac: hmac-sha1, hmac-sha1-96
DEBUG:paramiko.transport:server mac: hmac-sha1, hmac-sha1-96
DEBUG:paramiko.transport:client compress: none
DEBUG:paramiko.transport:server compress: none
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: diffie-hellman-group1-sha1
DEBUG:paramiko.transport:HostKey: ssh-rsa
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha1
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexGroup1 specified hash_algo <built-in function openssl_sha1>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-rsa host key for 172.31.142.14: b'cb9cd264fd6ee3861e726078c83a4600'
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 0] Max packet out: 4096 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:write_channel: b'show curpriv\n'
DEBUG:netmiko:read_channel: Type help or '?' for a list of available commands.
ciscoasa/admin> 
ciscoasa/admin> 
DEBUG:netmiko:read_channel: show curpriv
Username : user
Current privilege level : 1
Current Mode/s : P_UNPR
ciscoasa/admin> 
DEBUG:netmiko:Pattern found: (show\ curpriv) Type help or '?' for a list of available commands.
ciscoasa/admin> 
ciscoasa/admin> show curpriv
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin> 
DEBUG:netmiko:
Parenthesis found in pattern.

pattern: (\#|>)


This can be problemtic when used in read_until_pattern().

You should ensure that you use either non-capture groups i.e. '(?:' or that the
parenthesis completely wrap the pattern '(pattern)'
DEBUG:netmiko:Pattern found: (\#|>) 
ciscoasa/admin>
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:[find_prompt()]: prompt is ciscoasa/admin>
DEBUG:netmiko:write_channel: b'login\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: login
Username: 
DEBUG:netmiko:Pattern found: (login) login
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'user\n'
DEBUG:netmiko:read_channel: user
Password: 
DEBUG:netmiko:write_channel: b'********\n'
DEBUG:netmiko:read_channel: ***********
ciscoasa/admin# 
DEBUG:netmiko:In disable_paging
DEBUG:netmiko:Command: terminal pager 0

DEBUG:netmiko:write_channel: b'terminal pager 0\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: terminal pager 0
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: (terminal\ pager\ 0) terminal pager 0
DEBUG:netmiko:terminal pager 0
DEBUG:netmiko:Exiting disable_paging
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin#
DEBUG:netmiko:write_channel: b'configure terminal\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin# configure
DEBUG:netmiko:read_channel:  terminal
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: (configure\ terminal)  
ciscoasa/admin# configure terminal
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Pattern found: (ciscoasa/admin.*) 
ciscoasa/admin(config)# 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin(config)#
DEBUG:netmiko:write_channel: b'terminal width 511\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: terminal width 511
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: (terminal\ width\ 511)  terminal width 511
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Pattern found: ((?:ciscoasa/admin.*$|#.*$)) 
ciscoasa/admin(config)# 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin(config)# 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin(config)#
DEBUG:netmiko:write_channel: b'end\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: end
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: (end)  end
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Pattern found: (#.*) 
ciscoasa/admin# 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: ([>\#]) 
ciscoasa/admin#
DEBUG:netmiko:exit_config_mode:  end
ciscoasa/admin# 
DEBUG:netmiko: 
ciscoasa/admin# configure terminal
ciscoasa/admin(config)#  terminal width 511
ciscoasa/admin(config)#  end
ciscoasa/admin# 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
ciscoasa/admin# 
DEBUG:netmiko:
Parenthesis found in pattern.

pattern: (\#|>)


This can be problemtic when used in read_until_pattern().

You should ensure that you use either non-capture groups i.e. '(?:' or that the
parenthesis completely wrap the pattern '(pattern)'
DEBUG:netmiko:Pattern found: (\#|>) 
ciscoasa/admin#
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:Clear buffer detects data in the channel
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:[find_prompt()]: prompt is ciscoasa/admin#
DEBUG:netmiko:write_channel: b'login\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: login
                   ^
ERROR: % Invalid input detected at '^' marker.
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: (login) login
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'login\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: login
                   ^
ERROR: % Invalid input detected at '^' marker.
ciscoasa/admin# 
DEBUG:netmiko:Pattern found: (login) login
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:write_channel: b'\n'
DEBUG:netmiko:read_channel: 
ciscoasa/admin# 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:[find_prompt()]: prompt is ciscoasa/admin#
DEBUG:netmiko:write_channel: b'show version\n'
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: show version

Cisco Adaptive Security Appliance Software Version 9.1(7)32 <context>
Device Manager Version 7.12(2)

Compiled on Tue 04-Sep-18 08:37 by builders

ciscoasa up 51 days 6 hours


DEBUG:netmiko:Pattern found: (show\ version) show version
DEBUG:netmiko:read_channel: Hardware:   ASA5510, 1024 MB RAM, CPU Pentium 4 Celeron 1600 MHz,
Internal ATA Compact Flash, 256MB
BIOS Flash M50FW016 @ 0xfff00000, 2048KB

Encryption hardware device : Cisco ASA-55xx on-board accelerator (revision 0x0)
                             Boot microcode        : CN1000-MC-BOOT-2.00 
                             SSL/IKE microcode     : CNlite-MC-SSLm-PLUS-2.08
                             IPSec microcode       : CNlite-MC-IPSECm-MAIN-2.09
                             Number of accelerators: 1

 0: Ext: Ethernet0/0         : address is 4403.a70f.e0d4, irq 9
 1: Ext: Ethernet0/1         : address is 4403.a70f.e0d5, irq 9
 2: Ext: Ethernet0/2         : address is 4403.a70f.e0d6, irq 9
 3: Ext: Ethernet0/3         : address is 4403.a70f.e0d7, irq 9
 4: Ext: Management0/0       : address is 4403.a70f.e0d8, irq 11
 5: Int: Not used            : irq 11
 6: Int: Not used            : irq 5

Licensed features for this platform:
Maximum Physical Interfaces       : Unlimited      perpetual
Maximum VLANs                     : 100            perpetual
Inside Hosts                      : Unlimited      perpetual
Failover                          : Active/Active  perpetual
Encryption-DES                    : Enabled        perpetual
Encryption-3DES-AES               : Enabled        perpetual
Security Contexts                 : 2              perpetual
GTP/GPRS                          : Disabled       perpetual
AnyConnect Premium Peers          : 2              perpetual
AnyConnect Essentials             : 250            perpetual
Other VPN Peers                   : 250            perpetual
Total VPN Peers                   : 250            perpetual
Shared License                    : Disabled       perpetual
AnyConnect for Mobile             : Enabled        perpetual
AnyConnect for Cisco VPN Phone    : Disabled       perpetual
Advanced Endpoint Assessment      : Disabled       perpetual
UC Phone Proxy Sessions           : 2              perpetual
Total UC Proxy Sessions           : 2              perpetual
Botnet Traffic Filter             : Disabled       perpetual
Intercompany Media Engine         : Disabled       perpetual
Cluster                           : Disabled       perpetual

This platform has an ASA 5510 Security Plus license.

Serial Number: JMX172180D3
Running Permanent Activation Key: 0x9717ed4f 0x98ed5681 0x19a08924 0xd3d0bc64 0x0037cba8 

DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: 
DEBUG:netmiko:read_channel: Configuration register is 0x1
Configuration last modified by user at 17:22:40.250 GMT Wed Jul 3 2024
ciscoasa/admin# 
