delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/14/12:04:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <corinna-cygwin AT cygwin DOT com>
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: <BADF3C947A1BD54FBA75C70C241B0B9E40EFD7 AT ex02 DOT idirect DOT net> <39362252311 DOT 20020514173229 AT familiehaase DOT de>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019