[ale] sshd problem

Allan Neal allanneal at comcast.net
Wed Feb 14 08:57:26 EST 2007


We used SSHD on cygwin at my last place of employment.  I don't remember
all the details, but there is some process to "add" users in the cygwin
env to the .../cygwin/etc/passwd file for this to work.  The users have
to be added to the "unix" environment of cygwin for sshd to see them.
The authentication is done on the Windows side.  Also be sure to check
the user shell after adding the user.  The windows catchall shell that
it adds in the passwd entry doesn't work.  You need to change it to
something like bash, or ksh.

the /etc/passwd entries look something like this:

username:unused_by_nt/2000/xp:122564:10545:aneal,U-DOMAIN\username,long-number:/cygdrive/c/Documents and Settings/username:/bin/bash

Hope this helps

Allan

On Tue, Feb 13, 2007 at 10:28:34PM -0500, Terry Bailey wrote:
> 
> 
> Hi,
> 
> I have sshd/sftp working great on Cygwin with the home directories in the 
> Windows environment.  The only problem is that Administrator is the only 
> user for whom it works.  I originally thought that it was permissions on 
> the Windows side, but now, I think it is somewhere in the Linux environment.
> 
> I am logged in as Administrator and if I try to su to another user, I get 
> an error.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Terry Bailey
>   
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

-- 
 / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \
|  /~~\                                 /~~\  |
|\ \   |   I would rather be exposed   |   / /|
| \   /|     to the inconveniences     |\   / |
|  ~~  |  attending too much liberty   |  ~~  |
|      |  than to those attending too  |      |
|      |     small a degree of it.     |      |
|      |      - Thomas Jefferson       |      |
|      |                               |      |
 \     |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|     /
  \   /                                 \   /
   ~~~                                   ~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available




More information about the Ale mailing list