I need to login into SSH. I use here SSH Scope activity. Then I need to relog in the same session. I wanted to do it with Command SSH activity, but after sudo when it asks me for password and a command with password doesnt work. I tried to do something like echo “PASSWORD” | sudo -u USER, but it doesnt work either.
Does anyone know how to do this?
Thanks for help,