Guest User

Untitled

a guest
Jan 10th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import paramiko
  2. client = paramiko.SSHClient()
  3. client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  4. client.connect('x.x.x.x', username='xxx', password='xxxxxx')
  5. stdin, stdout, stderr = client.exec_command('/ip dhcp-client release [find interface=wlan5]')
Add Comment
Please, Sign In to add comment