avocado
avocado copied to clipboard
Added support for ssh over sudo
This allows commands to be run over sudo in ssh without configuring passwordless sudo or using the root account to ssh. This also solves the issue where avocado fails to configure net interfaces on a remote machine that uses password-based sudo.
Signed-off-by: Jacob Root [email protected]
I believe this change is very welcome, but It brings back the discussion we had some months (maybe years?) whether we should add functionalities to the avocado ssh utility or use aexpect.
Thoughts @clebergnu, @beraldoleal, @richtja, @ana, and @wainersm (as you were involved in the discussion last time)?
Hi @willianrampazzo, I was in the conversation too so to add my 2 cents here: I would recommend contributing this PR or anything that is not already implemented to https://github.com/avocado-framework/aexpect.
Since there is no activity on this topic for more than 2 years, I am closing this. @otisdog8 if you want to continue in this, feel free to reopen it.