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('x.x.x.x', username='xxx', password='xxxxxx')
- stdin, stdout, stderr = client.exec_command('/ip dhcp-client release [find interface=wlan5]')
Add Comment
Please, Sign In to add comment