Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 392 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 392 Bytes

ericnuno

common_modules

Function Examples

pwait

Note

Function used to wait/sleep until given character(s) are returned in the Paramiko session command output string.

...
channel = ssh.invoke_shell()
# Send Paramiko command to session
channel.send('show running config')
# Wait for # character in returned command output
pwait('#', channel)