Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import paramiko
- client = paramiko.SSHClient()
- client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
- client.connect('xxxxx', username='xxxx', password='xxxxxxxxxx')
- stdin, stdout, stderr = client.exec_command('/ip dhcp-client release [find interface=wlan5]')
- print("Cuenta Cerrada")
Add Comment
Please, Sign In to add comment