X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; q= dns; s=default; b=HRAe+MeA75UcfZI9SYIAFqPdaE6KcNTDQ4MTvRVDlK39v0 bMzHdqT0oW8uG8q6CvPExPEYlDw3fYFf32yTwN+0umQWtn6NkiN16hr0zN4U9psY WfWqqRts0WXFWTQk3TiZRtaPh+AzDD5I1+Kg3Sg+XmMNbYr30CvwzajB52UF0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; s= default; bh=VtAt9UhL7ce5fAzbIlSxoN3b4+8=; b=EinDQjIm54f3Zzr1CKXO bYhGMFDho1S3wIAHSkmp52t4XJunkjHAJm4KtzRDyYxeslZANuMVqUvpjN9gaT0r YCRXrhSFGHg4gHqqFhGcBCYIurbWx0aWljeRV8BrEfJyhp/9O+wELYZz+B8xagh5 fZi2LbVVTpsG4tE5CXOzrkk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,URI_HEX autolearn=no version=3.3.2 X-HELO: sam.nabble.com Date: Fri, 7 Nov 2014 08:29:12 -0800 (PST) From: wwwild To: cygwin AT cygwin DOT com Message-ID: <1415377752514-112567.post@n5.nabble.com> In-Reply-To: References: Subject: Re: Non-interactive SSH connection fails - error: can't open /dev/tty: No such device or address - Host key verification failed MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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