This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Non-interactive SSH connection fails - error: can't open /dev/tty: No such device or address - Host key verification failed
- From: wwwild <wwwild dot walsh at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 7 Nov 2014 08:29:12 -0800 (PST)
- Subject: Re: Non-interactive SSH connection fails - error: can't open /dev/tty: No such device or address - Host key verification failed
- Authentication-results: sourceware.org; auth=none
- References: <CAEYw_qkTWJVA770NDexeiKhp1z2d3ii5F7R=Q5ZDUXSkvDFrkQ at mail dot gmail dot com>
I know this is an old thread, but it helped me and I wanted to offer the
workaround devised with the information here:
With some trial and error we found that creating a .ssh folder in the cygwin
root (c:\Tools\cygwin64 in this case) and copying the necessary known_hosts
and id_rsa files from the user's home (c:\Tools\cygwin64\home\tsstester\.ssh
in this case) to the new location (and removed all non-user access via
cygwin chmod, unsure if absolutely necessary) resolves the issue.
--
View this message in context: http://cygwin.1069669.n5.nabble.com/Non-interactive-SSH-connection-fails-error-can-t-open-dev-tty-No-such-device-or-address-Host-key-verd-tp92270p112567.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple