I want to run a command via ssh on a virtual machine. I'm using paramiko and it works fine except the process ui doesn't open. For example when running notepad, I can see the notepad in task manager but the notepad itself doesn't actually open.
import paramiko
import time
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect(hostname="X.X.X.X", username="Administrator", password="Password1")
ssh_stdin, ssh_stdout, ssh_stderr = ssh.exec_command(r"c:\Windows\System32\notepad.exe")
time.sleep(60)
If you suggest to use different package is also fine.
Thanks