Runing commnad in an interactive remote shell with python and paramiko


/ Published in: Python
Save to your folder(s)

It is necessary on occasion to execute a command in interactive shell. (I needed to to get access to some env vars... ) While there are many way to accomplish this I opted to run my cmd in interactive mode.
To do so I had to write this little wrapper snippet and figured it might be useful for someone else.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.