Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 05-02-2006, 10:46 AM   #1
LQ Newbie
Registered: May 2006
Distribution: Cygwin
Posts: 10

Rep: Reputation: 0
Access Denied when I try to login remotely to my SSH server running on Cygwin.

Hi guys,

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't login remotely to SSH server using FileZilla rob_xx17 Linux - Networking 5 08-22-2006 08:35 PM
Running a shell script remotely via 'ssh <hostname> <command>' davee Linux - General 4 10-09-2005 02:38 AM
help with setting up login to server remotely using ssh LAdProg2005 Linux - Software 2 10-05-2005 02:05 PM
SSH login ... access denied (suse 9.1) saxxon1 Linux - Networking 3 09-14-2004 03:34 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration