This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SSH: The authenticity of host XXX can't be established
- From: Markus Schönhaber <mailing-cygwin at schoenhaber dot de>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Aug 2006 12:29:12 +0200
- Subject: Re: SSH: The authenticity of host XXX can't be established
- References: <ebur8f$e28$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
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@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/