Mail Archives: cygwin/2006/04/19/09:46:55
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/
- Raw text -