This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: FW: Can not config sshd


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]