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 Date: Tue, 14 May 2002 18:03:27 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: can connect to sshd on linux but not on cygwin Message-ID: <20020514180327.E2671@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <39362252311 DOT 20020514173229 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39362252311.20020514173229@familiehaase.de> User-Agent: Mutt/1.3.22.1i On Tue, May 14, 2002 at 05:32:29PM +0200, Gerrit P. Haase wrote: > Mark schrieb: > > > I have it working on Win2K. > > > Have you checked your permissions on these files? > > > 1. Your home directory -- should be 700 > > > 2. ~/.ssh -- should be 700 > > > 3. ~/.ssh/id_dsa, ~/.ssh/id_rsa, ~/.ssh/identity -- should be 600. > > I changed all the permissions as you suggested (well the identity files > were already 600) on the server and on my client here. Still cannot > connect. I figured out how to connect with my id_dsa last week. > The problem is my collegue, he also wants to use the box but has only > RSA keys. So if I turn off RSA auth he cannot connect and if I turn on > I cannot connect. Weird is that it works with for us both at the Linux > box (there is an older openssh version running). What do you mean by "RSA", an RSA key for ssh1 auth or an RSA key for ssh2 auth? Assuming your sshd_config contains Protocol 2,1 and your collegue has a ssh1 RSA key, he has to use '-1' on the CLI. Otherwise, if sshd_config contains Protocol 1,2 you have to use -2 on the CLI. Another approach is to change your and your collegues ~/.ssh/config on the client box to do the right thing when connecting to that server, anyway. Btw., RSA is assumed to be more secure than DSA. I suggest using an ssh2 RSA key, too. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/