Switching user in a SSH connection

Shah Sultan Alam ssalam at gmail.com
Fri Jan 2 01:58:16 EST 2009


Hi Group,
 I am trying to connect to a Linux maching using paramiko.
 and able to run a command like "ls -l"

 Now I want to switch user being in the connection ( eg running
something like "su -" )

Will you please let me know how to do that.

Regds
Shah



More information about the Python-list mailing list