I just tried to fix this with a relatively obvious approach. While this works fine for the ssh case, it completely breaks gksudo, which delivers the passphrase over stdin. To fix this properly, sudo needs something like gpg's --passphrase-from-fd.
I think I'll pass this to upstream for now. ** Changed in: sudo (Ubuntu) Status: In Progress => Confirmed -- 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