Access Denied when I try to login remotely to my SSH server running on Cygwin.
I've been using my ssh daemon for sometime running on the latest Cygwin in Win'2003. I've connected fine for months but I decided I don't need a user who's part of the Domain Admins group to login...a regular domain user will suffice.
The problem is only the Administrator account and the user with domain admin rights which installed sshd and the service are able to login remotely via ssh. Any of the other users I have in /etc/passwd always get "Access Denied."
I've tried reinstalling sshd but always the same problem. I've even created the sshd service to run as another user (instead of the default and non-previleged sshd_server account) with no admin rights. Still, problem persists.
I'm using the default /etc/sshd_config file. However, in the process of trying to figure this out, I haved changed one or two things in it such as allowing root to login (which enabled me to login as Administrator).
Oh, and even if I add these regular users to the domain admins groups they still can't login (though that's besides the point here).
I've searched Google. Some said that adding the user to the Administrators group fixes the problem immediately, but not for me. This user doesn't have a home dir yet because I'm unable to log in with it in Cygwin. Some articles say to run ssh-user-config but I can't run this unless I first login as this user. I keep getting Access Denied after entering the password. I have the user in /etc/passwd and by default all users should be allowed to login to ssh, as mentioned in /etc/sshd_config.