When permissions on /dev/tty are crw------- and owner root:root, ssh-add will echo passwords to the terminal (sudo does not) and ssh fails with a "Host key verification failed." error. ssh -v -v -v provided a "debug1: read_passphrase: can't open /dev/tty: Permission denied" which is how I figured out that /dev/tty had weird permission issues. I would have expected that error print without need the -v option and ssh-add to fail so that my password would not show (or use another method, if possible). This happens with binaries compiled from source from openssh-6.6p1 obtained from http://openbsd.mirrors.pair.com/OpenSSH/portable/openssh-6.6p1.tar.gz Thank you, Jim Keener
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev