I’ve added some code to connection.py which SEEMS like what you want to do for sudo support, but I’m seeing some issue with paramiko saying the connection is closed right after I send the command.
More debugging is required, but if folks interested in working on sudo want to hack at it, look at connection.py and search for “sudo”. You will have to remove the “if not False” line and then also set sudo=True in Runner for now.
(Worst case scenario is probably that sudo support might not be possible except on newer (client) distributions… to be determined, we should be able to get this working)
–Michael