SyntaxFix
Write A Post
Hire A Developer
Questions
I will refer you to paramiko
see this question
ssh = paramiko.SSHClient() ssh.connect(server, username=username, password=password) ssh_stdin, ssh_stdout, ssh_stderr = ssh.exec_command(cmd_to_execute)