X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,J_CHICKENPOX_83,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A129D81.5010801@gmail.com> Date: Tue, 19 May 2009 07:52:33 -0400 From: Patrick Aikens User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [1.5] Problem with OpenSSH on Windows Home Server (Win2003) References: <4A0CEE5B DOT 6060301 AT gmail DOT com> <4A10C051 DOT 3050401 AT gmail DOT com> <4A129310 DOT 9070502 AT gmail DOT com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------030104000004030603070807" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------030104000004030603070807 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thorsten Kampe wrote: > * Patrick Aikens (Tue, 19 May 2009 07:08:00 -0400) >> Patrick Aikens wrote: >>> Patrick Aikens wrote: >>>> I've installed cygwin 1.5 on my WHS box as Administrator. I've >>>> opened a cygwin terminal and executed the mkpasswd -l > /etc/passwd >>>> and mkgroup -l > /etc/group commands, executed ssh-host-setup and >>>> used privilege separation, and everything seems to have executed >>>> OK. I can ssh to that machine as Administrator just fine using >>>> password auth. However, I can't ssh in as any other user on that >>>> machine using password authentication - I get told that the >>>> password is incorrect, which I know it isn't. I can use key-based >>>> auth to login as any user, so I do have a workaround, but I'm >>>> curious as to why no user but Administrator can use password auth >>>> to log in? I've logged in via remote desktop as the user I wish to >>>> SSH as and ran ssh-user-config as that user (that's how I got the >>>> key-based login working). I haven't done that as Administrator, >>>> though, and it still lets me log in just fine there. >>>> >>>> Sorry if this is a bit rambling, but I've been working on this >>>> problem for a while and it's getting late where I am... >>>> cygcheck.out is attached. >>> So, is this expected behavior then? Is it only possible to log in as >>> the user that installed the server using password authentication? >> Is 1.5 not supported anymore? I only see 1.7 questions getting >> answered, and nobody even tells me to get lost in 4 days... I >> apologize if I've violated some sort of mailing list rule with my ssh >> question, I thought I had fulfilled all the requirements of asking a >> question (including the cygcheck output), but it was late. > > I don't think cygcheck will help in this case. Run ssh with -v's and > sshd with -d's. Check the application eventlog and /var/log/... > > Thorsten > > > -- > 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/ > /var/log/sshd.log is empty Attached is output from ssh -v to the server from my desktop and output from 'ls -l /var/log' on the server... I'll try running sshd with -d as soon as I can and provide that output. It might be later, but maybe something will jump out at someone with only this data. Thanks for the reply... this being a home server, it's important to me that all the user accounts get ssh access. Up until now, I've only needed to set up single user ssh access to my home Windows machines. --------------030104000004030603070807 Content-Type: text/plain; name="ls.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ls.txt" total 584 -rw-r--r-- 1 SYSTEM Administrators 0 May 14 22:55 cygserver.log ----------+ 1 cyg_server Administrators 282348 May 19 07:42 lastlog -rw-r--r-- 1 duckpuppy None 0 May 19 2009 ls.txt ----rwx---+ 1 Administrator Users 20514 May 14 17:12 setup.log ----rwx---+ 1 Administrator Users 440712 May 14 17:12 setup.log.full -rw-r--r-- 1 cyg_server None 0 May 14 17:24 sshd.log --------------030104000004030603070807 Content-Type: text/plain; name="ssh.txt" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="ssh.txt" U2NyaXB0IHN0YXJ0ZWQgb24gVHVlIE1heSAxOSAwNzo0MDowNSAyMDA5Chtb MzI7MW1bfi8uc3NoXSQgG1swbXNzaCAtdiBzcGVlZGZvcmNlDQpPcGVuU1NI XzUuMXAxLCBPcGVuU1NMIDAuOS44ayAyNSBNYXIgMjAwOQ0KZGVidWcxOiBS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bnRpY2F0aW9uIG1ldGhvZHMgdG8g dHJ5Lg0NClBlcm1pc3Npb24gZGVuaWVkIChwdWJsaWNrZXkscGFzc3dvcmQs a2V5Ym9hcmQtaW50ZXJhY3RpdmUpLg0NChtbMzI7MW1bfi8uc3NoXSQgG1sw bQ0KG1szMjsxbVt+Ly5zc2hdJCAbWzBtZXhpdA0KClNjcmlwdCBkb25lIG9u IFR1ZSBNYXkgMTkgMDc6NDA6MzYgMjAwOQo= --------------030104000004030603070807 Content-Type: text/plain; charset=us-ascii -- 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/ --------------030104000004030603070807--