Read-only on /dev/tty causes ssh-add to show passwords when typed and ssh'ing to new hosts to fail

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux