delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/10/03:01:14

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: ssh to 2003 server exist immediately
Date: Wed, 10 May 2006 00:00:36 -0700
Lines: 29
Message-ID: <e3s32l$k60$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I'm trying to set up ssh access to a Windows 2003 server. I am having a 
problem in that when I ssh to this server it immediately exits and I 
find the following in /var/log/sshd.log:

      5 [main] sshd 12912 C:\Cygwin\usr\sbin\sshd.exe: *** fatal error - 
could not load ws2_32, Win32 error 0

Forgive me I did do some research about setting up ssh on a 2003 server 
and I believe I've very close to having it set up correctly but I'm 
still missing something. I created a local sshd_server user and added 
things like "Act as part of the operating system", "Replace process 
level token", etc. I did not see a setting for "Increase quota". Note 
that I am using a local sshd_server users (i.e. <machine>\sshd_server) 
as the logon for the sshd service. I don't believe I'm using privilege 
separation.

I had to use mmc and a Group Policy editor for the domain to add this 
local user into the rights at the domain level before this would work. 
Still when I try to ssh in I get a password prompt but after that the 
above gets written into the sshd.log and the prompt returns.

Note that I also use this local sshd_server user for inetd so that rsh 
can and does work. Insecure I know and I'd like to switch this client 
over to using all ssh but I gotta get it working for them.

Thanks in advance.
-- 
When you open a new bag of cotton balls, are you supposed to throw the 
top one away?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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