delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/16/06:29:34

X-Spam-Check-By: sourceware.org
From: Markus =?iso-8859-15?q?Sch=F6nhaber?= <mailing-cygwin AT schoenhaber DOT de>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: SSH: The authenticity of host XXX can't be established
Date: Wed, 16 Aug 2006 12:29:12 +0200
User-Agent: KMail/1.9.1
References: <ebur8f$e28$1 AT sea DOT gmane DOT org>
In-Reply-To: <ebur8f$e28$1@sea.gmane.org>
MIME-Version: 1.0
Message-Id: <200608161229.12518.mailing-cygwin@schoenhaber.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

Kai Schlichting wrote:
> I have some problems using the ssh.exe from ...\cygwin\bin\: Each time,
> i log in into my ssh-Server (Linux), i get the following output:
>
>    C:\cygwin\bin>ssh -i identity backup AT XXXmyIPXXX
>    Could not create directory '/home/_Kai_/.ssh'. The authenticity of
>    host XXXmyIPXXX can't be established.
>    RSA key fingerprint is XXXmyFingerprintXXX .
>    Are you sure you want to continue connecting (yes/no)? yes
>    Failed to add the host to the list of known hosts
>    (/home/_Kai_/.ssh/known_hosts).
>
>    Welcome to MySSHServer!
>    MyLinuxServer >
>
> Explanations:
> - identity is my Private Key File in ...\cygwin\bin\
> - on my Windows Client, i'm logged in as _Kai_
> - on the ssh-Server exists the directory /home/backup/.ssh/
>
> Problem: What can I do that i have not to answer with 'yes' each time?

You should ensure that ssh is able to create the directory
/home/_Kai_/.ssh
on the machine where you issue the ssh command. Which obviously means 
that /home/_Kai_/ has to exist.
BTW: ~/.ssh (i. e. /home/_Kai_/.ssh in your case) is where the identity file 
belongs IMO.

Regards
  mks

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019