I wonder if we have a way of enabling the following this:
Python script running on Machine1
Machine1 -------pass sudo commands, ssh password, sudo password------> Machine2
Machine1 <--------Get output and store in python variable--------- Machine2
Can we do this without using paramiko?