Automate ssh connection and execution of program with Python’s Paramiko
I want to automate a specific task using python.
This task includes, among some other things, connecting with ssh to a remote server, and running a specific program (call it prog.out) that may or may not ask for user input.
After some research and after weighting my options, I decided to use Python’s Paramiko (which may turned out to be wrong, considering the below…).