X-Spam-Check-By: sourceware.org From: Markus =?iso-8859-15?q?Sch=F6nhaber?= 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: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 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 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/