When using paramiko exec_command without the interactive shell, it's really easy to get the output.
However I need to use the interactive shell and it seems a pain to read the output of a single command. I couldn't find a demo or any example of this.
I tried using something like : Implement an interactive shell over ssh in Python using Paramiko?
But it's in really bad shape.