X-Spam-Check-By: sourceware.org Date: Wed, 19 Apr 2006 09:46:47 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Soumya cc: cygwin AT cygwin DOT com Subject: Re: cygwin server sends the same key fingerprint all the time In-Reply-To: <20060419122124.33600.qmail@web32710.mail.mud.yahoo.com> Message-ID: References: <20060419122124 DOT 33600 DOT qmail AT web32710 DOT mail DOT mud DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Wed, 19 Apr 2006, Soumya wrote: > Hi, > > I have cygwin 1.74 server running on Windows 2000. I connect to this What on Earth is "cygwin 1.74 server"? > server programmatically (using sshtools java API that supports OpenSSH) > to execute secure ftp. > I created public/private key pair, appended the public key (converted > to openSSH) authorized_keys and authorized_keys1 on server. > Everything worked fine. I was asked "Do you want to accept this key ?" > the first time and the known_hosts file was written and subsequent > connections went without interruptions. > I am trying to use new keys and paste my public key to known_hosts on > the client, so that even on the first connection, the prompt wouldn't > appear. > At this time, I realised that whatever new key I append to the servers > authorized_keys files and whatever private key file I use on the client, > the server (remote) sends in the SAME key fingerprint every time. I even > erased everything from authorized_keys files and tried connection, I > still get a key fingerprint and if I accept it, it is written to > client's known_hosts. > > Doesn't this mean that cygwin is not loading my new keys and that the > previous key is stored somewhere else which I do not know ? I restart > the server every time I append a key ( cygrunsrv --start sshd ). One WAG: do you actually *stop* sshd before you "restart" it? If the sshd service is running, "cygrunsrv --start sshd" does nothing and makes it look like it succeeds. But we can't really help you until you follow all the directions here: > Problem reports: http://cygwin.com/problems.html Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/