delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/26/04:22:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <392E3413.A4543C5C@vinschen.de>
Date: Fri, 26 May 2000 10:21:39 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Prentis Brooks <prentis AT aol DOT net>
CC: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: FW: Can not config sshd
References: <NEBBLEPLMLJEEFHAGMDMAECGCAAA DOT prentis AT aol DOT net>

Prentis Brooks wrote:
> 
> I am running it as the user I want to RSA as.  I also have all my system
> mounts set to binary.  Could the files still be in text mode?  What I am

They can if you have created them as text mode files. Copying
to a binary mount doesn't change the line endings. If so,
simply convert with vim/tr/recode/whateveryouwant.

> trying to do is a bit odd, I am sure as I need both worlds.  I have created
> two entries in my services file for sshd... or rather sshd and sshbak (sshd
> at 22 sshbak at 26) Then created two entries in inetd each with a different

Careful! Which user account is starting your inetd? Please, read
again what I have written in my previous mail. If you want to use
RSA you MUST start sshd under YOUR user account. Is inetd running
under your user account? If so, you must have appropriate privileges
to let the other sshd do it's password authentication.

Besides that (and the usage of inetd), it doesn't sound odd.

> config file.  One config allows RSA and the other allows password only.  As
> I understood, this should be all I need to do, beyond the basics for rhosts
> and RSA.  If this is starting to sound real complicated and you have time to
> go into detail with me, I will send you details of my config directly.

I would prefer that you first check each method for itself.
As you mentioned, you are able to run sshd for password
authentication. Ok. Deacvtivate 'em, then start sshd with your
RSA related config file from the command line in debug mode:

	sshd -d

The try to authenticate from another shell on the same machine:

	ssh -v 127.0.0.1

Now you can see what happens. This is much better then trying
to debug a service session!

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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