I have interacted with a server within a program that I am doing using the os.system () function as if it were using the console itself.
os.system("ssh [email protected] 'comando a ser realizado'")
For everything I had done before (create folders, move files and things in genre) this function would work, now when I do.
os.system("ssh [email protected] 'python programa.py'")
It looks like it launched the program, but it does not give any feedback, and apparently it's not even running.