I have two machines master, slave. They have passwordless ssh setup between them. i.e master -> master and master -> slave
I noticed the following problem
user@master$ ssh master sudo whoami sudo: no tty present and no askpass program specified user@master$ ssh slave sudo whoami root user@master$ ssh -t master sudo whoami [sudo] password for user:
I am suprprised i have to type password for local machine but not for remote! How can i bypass the sudo prompt on master itself?