This is my script That connects by ssh to a mikrotik and executes a command I just want you to go telling me all the steps as it is fulfilled.
import paramiko
client = paramiko.SSHClient()
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
client.connect('x.x.x.x', username='++', password='+++++++')
stdin, stdout, stderr = client.exec_command('/ip dhcp-client release [find interface=wlan5]')