​import paramiko client = paramiko.SSHClient() client.load_system_host_keys() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) #Enter your Linux SSH IP address, username and password. client.connect('xx.xxx.xx.xx', username='root', password='root', port=22) #Linux command to go to next line. ssh_stdin, ssh_stdout, ssh_stderr = client.exec_command('\n') #Linux command to read a register value using devmem command ssh_stdin, ssh_stdout, ssh_stderr = client.exec_command('devmem 0x50020088') print(ssh_stdout)