Re: 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]

 



Lookin into it more I believe that readpassphrase falls back to stdin when /dev/tty isn't accessible.

I wonder if ssh-add could be more proactive by checking /dev/tty and the presence of $DISPLAY to provide a warning or abort with an error before calling readpassphrase. I didn't think ssh-add could fix a bad configuration :)

The issue is that I know there are many use cases for ssh-add (many of which i don't know) and being able to accommodate them all may be difficult.

Jim
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
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