public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* SSHD authentication
@ 2001-04-10 11:11 ***
  2001-04-10 15:15 ` Larry Hall (RFK Partners, Inc)
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: *** @ 2001-04-10 11:11 UTC (permalink / raw)
  To: cygwin

HI:


I have configured a SSHD on a NT4.0 member server running SP6. I've
configured

sshd to start via SRVANY. I can see the service has started and have
verified

that I can at least attempt a connection via SecureCRT on my client machine.
I'm

prompted to accept the keys however connection fails at the password stage.
I

receive the message "Password Authentication failed.


I have SSHD running against the system account. I do have a service account
for

SSHD however I wanted to get it working in a fairly vanilla environment
first.



As I'm running SSHD on a non-domain controller I'd like to use the local

accounts for user authentication. I thought this was controlled via the
/etc/passwd

file. However when I launch cygwin and then login and attempt to login with
the

username and password I've set login fails.


I have also poured over the documentation and do not understand where I
should

set the netsec variable. Please tell me what file this variable needs to

configured for.


Any help would be much appreciated. Please reply to this
at:rwhite@drugstore.com


thxs./rav


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: SSHD authentication
  2001-04-10 11:11 SSHD authentication ***
@ 2001-04-10 15:15 ` Larry Hall (RFK Partners, Inc)
  2001-04-11  1:06 ` Corinna Vinschen
  2001-04-11  5:09 ` Michael Erdely
  2 siblings, 0 replies; 8+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-04-10 15:15 UTC (permalink / raw)
  To: ***, cygwin

At 01:14 PM 4/10/2001, *** wrote:
>I have also poured over the documentation and do not understand where I
>should
>
>set the netsec variable. Please tell me what file this variable needs to
>
>configured for.


Well, I suppose you could put it in your cygwin.bat file but most (all?) 
people on NT/W2K tend to use the applet to set environment variables in 
the control panel (under System).


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: SSHD authentication
  2001-04-10 11:11 SSHD authentication ***
  2001-04-10 15:15 ` Larry Hall (RFK Partners, Inc)
@ 2001-04-11  1:06 ` Corinna Vinschen
  2001-04-11  5:09 ` Michael Erdely
  2 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2001-04-11  1:06 UTC (permalink / raw)
  To: cygwin

On Tue, Apr 10, 2001 at 10:14:50AM -0700, *** wrote:
> As I'm running SSHD on a non-domain controller I'd like to use the local
> 
> accounts for user authentication. I thought this was controlled via the
> /etc/passwd
> 
> file. However when I launch cygwin and then login and attempt to login with
> the
> 
> username and password I've set login fails.

Did you check /etc/passwd? Does the entry has a home dir? The correct one?

> I have also poured over the documentation and do not understand where I
> should
> 
> set the netsec variable. Please tell me what file this variable needs to
> 
> configured for.

It's "ntsec", not "netsec". As for setting the CYGWIN settings:
http://cygwin.com/cygwin-ug-net/setup-env.html
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: SSHD authentication
  2001-04-10 11:11 SSHD authentication ***
  2001-04-10 15:15 ` Larry Hall (RFK Partners, Inc)
  2001-04-11  1:06 ` Corinna Vinschen
@ 2001-04-11  5:09 ` Michael Erdely
  2001-04-12  7:48   ` Jason B. Alonso
  2 siblings, 1 reply; 8+ messages in thread
From: Michael Erdely @ 2001-04-11  5:09 UTC (permalink / raw)
  To: cygwin

I'd also look at your /etc/sshd_config file and make sure you've
disabled RSAAuthentication.

-ME

-----Original Message-----
From: cygwin-owner@sources.redhat.com
[ mailto:cygwin-owner@sources.redhat.com ] On Behalf Of ***
Sent: Tuesday, April 10, 2001 1:15 PM
To: cygwin@cygwin.com
Subject: SSHD authentication


HI:


I have configured a SSHD on a NT4.0 member server running SP6. I've
configured

sshd to start via SRVANY. I can see the service has started and have
verified

that I can at least attempt a connection via SecureCRT on my client
machine. I'm

prompted to accept the keys however connection fails at the password
stage. I

receive the message "Password Authentication failed.


I have SSHD running against the system account. I do have a service
account for

SSHD however I wanted to get it working in a fairly vanilla environment
first.



As I'm running SSHD on a non-domain controller I'd like to use the local

accounts for user authentication. I thought this was controlled via the
/etc/passwd

file. However when I launch cygwin and then login and attempt to login
with the

username and password I've set login fails.


I have also poured over the documentation and do not understand where I
should

set the netsec variable. Please tell me what file this variable needs to

configured for.


Any help would be much appreciated. Please reply to this
at:rwhite@drugstore.com


thxs./rav


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: SSHD authentication
  2001-04-11  5:09 ` Michael Erdely
@ 2001-04-12  7:48   ` Jason B. Alonso
  0 siblings, 0 replies; 8+ messages in thread
From: Jason B. Alonso @ 2001-04-12  7:48 UTC (permalink / raw)
  To: cygwin

>>I have also poured over the documentation and do not understand where I
>>should set the netsec variable. Please tell me what file this variable
needs to
>>configured for.

Perhaps you mean the ntsec flag of the CYGWIN environment variable.
You set this by adding

SET CYGWIN=ntsec

to your cygwin.bat before the line containing bash.

This will cause cygwin to use it's NT security features.

Hope this helps.

Jason Alonso


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshd authentication
  2002-04-10 13:20 sshd authentication Chetan Tiwari
@ 2002-04-11  3:24 ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2002-04-11  3:24 UTC (permalink / raw)
  To: cygwin

On Fri, Apr 05, 2002 at 03:28:56PM -0600, Chetan Tiwari wrote:
> Hi,
> 
> This may be a basic question, but I was wondering if there was any way
> to setup the SSH Daemon so that it authenticates users based on a text
> file or a SQL database, rather than the default passwd file/NT security
> authentication.

No.  You can use public key authentication instead of password auth.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* sshd authentication
@ 2002-04-10 13:20 Chetan Tiwari
  2002-04-11  3:24 ` Corinna Vinschen
  0 siblings, 1 reply; 8+ messages in thread
From: Chetan Tiwari @ 2002-04-10 13:20 UTC (permalink / raw)
  To: cygwin

Hi,

This may be a basic question, but I was wondering if there was any way
to setup the SSH Daemon so that it authenticates users based on a text
file or a SQL database, rather than the default passwd file/NT security
authentication.

I'd basically like to set up a private list of users who can access my
machine and this list is independant of the default win 2k users.

Thanks,

Chetan





--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: SSHD authentication
@ 2001-04-12  8:17 Simha, Shuba
  0 siblings, 0 replies; 8+ messages in thread
From: Simha, Shuba @ 2001-04-12  8:17 UTC (permalink / raw)
  To: 'Jason B. Alonso', cygwin

How about setting this in the NT environment? Right-click on My Computer -
properties - Environment tab. At the bottom, there are 2 text boxes,
Variable & Value. Can we set "Cygwin" & ntsec here?


-----Original Message-----
From: Jason B. Alonso [ mailto:jalonso@MIT.EDU ]
Sent: Thursday, April 12, 2001 10:48 AM
To: cygwin@cygwin.com
Subject: RE: SSHD authentication



>>I have also poured over the documentation and do not understand where I
>>should set the netsec variable. Please tell me what file this variable
needs to
>>configured for.

Perhaps you mean the ntsec flag of the CYGWIN environment variable.
You set this by adding

SET CYGWIN=ntsec

to your cygwin.bat before the line containing bash.

This will cause cygwin to use it's NT security features.

Hope this helps.

Jason Alonso


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-04-11 10:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-10 11:11 SSHD authentication ***
2001-04-10 15:15 ` Larry Hall (RFK Partners, Inc)
2001-04-11  1:06 ` Corinna Vinschen
2001-04-11  5:09 ` Michael Erdely
2001-04-12  7:48   ` Jason B. Alonso
2001-04-12  8:17 Simha, Shuba
2002-04-10 13:20 sshd authentication Chetan Tiwari
2002-04-11  3:24 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).