Executing ssh on cygwin under windows 10 recently started failing, after many years of stable logins. The relevant output from ssh under a mintty from Xwindows:
% ssh -tt -vvv <user@host> debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts2 error:2 debug3: failed to open file:/dev/tty error:3 debug1: read_passphrase: can't open /dev/tty: No such file or directory debug3: spawning /usr/X11R6/bin/ssh-askpass CreateProcessW failed error:2 ssh_askpass: posix_spawn: No such file or directory Host key verification failed.
The special file /dev/tty is there:
% ls -la /dev/tty crw-rw-rw- 1 jpmattia None 5, 0 May 22 15:04 /dev/tty
I updated Cygwin to make sure all the binaries were the latest. Also windows updated itself earlier this week.
I'm a little baffled as to what might be going on. Clues gratefully accepted.