What about having sudo issue a warning but otherwise not change behavior? For example:
$ ssh remotemachine sudo apt-get update Warning: not on a terminal -- password will be echoed! Password: ... That way tools that are expecting to see "Password:" before continuing won't blow up, and humans will see the warning, and think twice. -- sudo password not masked when connecting with ssh https://launchpad.net/bugs/56755 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs