I have this script that i run to connect to a server and I would like to ask the user for the sudo's password like how "sudo" does it without using sudo. I want it to ask for the password every time the script runs.
#a command to ask for password(sudo's password) before running the command below
*insert here*
sshpass -p $password ssh $user@$ip