The sshpass
programme can automatically enter the ssh password without you having
Is there anything that will do that for a sudo
prompt? Like sudopass
? e.g. sudopass -p SUDOPASSWORD sudo -i
Ubuntu Linux 18.04 (or 20.04). I am aware you can make sudo not require a password, but I am ssh'ing into a server I don't control, and can't do that.