avocado icon indicating copy to clipboard operation
avocado copied to clipboard

Added support for ssh over sudo

Open otisdog8 opened this issue 4 years ago • 2 comments
trafficstars

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]

otisdog8 avatar Jun 29 '21 22:06 otisdog8

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)?

willianrampazzo avatar Jul 12 '21 21:07 willianrampazzo

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.

pevogam avatar Oct 05 '21 13:10 pevogam

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.

richtja avatar Mar 22 '24 09:03 richtja