Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import paramiko
- ssh = paramiko.SSHClient()
- ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
- ssh.connect('10.X.X.X',username='user',password='password')
- stdin, stdout, stderr=ssh.exec_command("get system status")
- type(stdin)
- stdout.readlines()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement