Guest User

Untitled

a guest
Jan 3rd, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import paramiko
  2.  
  3. client = paramiko.SSHClient()
  4. client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  5. client.connect('xxxxx', username='xxxx', password='xxxxxxxxxx')
  6.  
  7. stdin, stdout, stderr = client.exec_command('/ip dhcp-client release [find interface=wlan5]')
  8.  
  9.  
  10. print("Cuenta Cerrada")
Add Comment
Please, Sign In to add comment