Re: Cannot log in to SSHD, either with public key or password

2014-05-21 Thread Evan Rowley
This page has a lot of good information in it: http://cygwin.com/cygwin-ug-net/ntsec.html One part you might want to look at is where it mentions "cyglsa-config" - this could be useful to you given what you're trying to set up. In order to utilize this, you'll also want to enable the "Create a tok

Re: seteuid 1019: Operation not permitted

2014-02-15 Thread Evan Rowley
they just took the entire group policy off of the machine. After doing this sshd logins started working. Thanks a bunch to all who initially worked with me on this. On Tue, Sep 17, 2013 at 3:02 PM, Evan Rowley wrote: > Hi Guys > > I have the debug logs of an sshd that terminated

seteuid 1019: Operation not permitted

2013-09-17 Thread Evan Rowley
005ebb8 debug1: temporarily_use_uid: 1019/513 (e=1006/513) seteuid 1019: Operation not permitted debug1: do_cleanup debug1: Killing privsep child 1552 -- Forwarded message -- From: Evan Rowley Date: Mon, Sep 16, 2013 at 4:50 PM Subject: Re: Fwd: Way to test cyglsa? To: Andrey Repin

Re: Fwd: Way to test cyglsa?

2013-09-16 Thread Evan Rowley
The user cyg_server was generated by the ssh-host-config script and while the server itself is on a domain, all the users involved with cygwin / ssh / sshd are local users. I've noticed that along with the local cyg_server account, there is also a local sshd account. It appears to be disabled. Is

Re: Fwd: Way to test cyglsa?

2013-09-16 Thread Evan Rowley
Every day I learn something new. This cygcheck utility produces a lot of useful information. I've done a diff on the cygcheck for the server where sshd is working and the server where sshd is not working. Summary of the diff is as follows: - A gid 0 root group exists on the server where sshd

Re: Fwd: Way to test cyglsa?

2013-09-16 Thread Evan Rowley
I would really like to run sshd in debug mode! I wasn't sure what the best way to enable debug mode on sshd. The approach I took was to edit one the registry entry I assumed cygrunsrv uses to launch sshd. Under \HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\sshd\Parameters Name: AppArgs Type:

Re: Fwd: Way to test cyglsa?

2013-09-16 Thread Evan Rowley
Its great that I now have some actual debug output. Thanks a lot, Larry. Towards the end of the log this appeared: seteuid 1019: Operation not permitted I'll check again that /etc/passwd, /etc/group, cyglsa-config, and ssh-host-config all have the correct login credentials. Before I do, is there

Re: Fwd: Way to test cyglsa?

2013-09-16 Thread Evan Rowley
Thanks for the recommendaitons Larry. If $USER is the test, then it appears cyglsa is working on this machine. The firewall is disabled. Thanks for refering me to the BLODA. I noticed some Symantec products listed there. Symantec's Endpoint Protection and Symantec's Bakcup Exec are installed on

Fwd: Way to test cyglsa?

2013-09-16 Thread Evan Rowley
Hi All, Is there a way to test whether or not cyglsa is functioning? I've been having a lot of difficulty setting up sshd with passwordless public key auth on a WIndwos 2003 server. Based on the problem I was seeing, I thought that cyglsa might be the solution. The cyglsa-config script was run an

Re: Can SSH from localhost as Admin but NOT 'regular' user when using passwords

2013-07-01 Thread Evan Rowley
Andrey Repin, Some english is better than none! With Russian, I have a lot to learn still. Interesting is that on both installations of Cygwin, /var/log/sshd.log is empty. I've followed to basic steps to install Cygwin, setup users, and setup sshd. Maybe there is another step for logging that I m

Can SSH from localhost as Admin but NOT 'regular' user when using passwords

2013-07-01 Thread Evan Rowley
Hi Cygwin, I'm tasked with setting up SFTP serving on 2 Windows Server 2003 VMs. One of these installations has been giving me problems and I'm not sure what the solution is. The following command works fine when run as Administrator and SFTP_User in these two configurations: (password,keyboard-