Some of our development groups like to use SSH. Especially, if they have a Linux background and were tossed into the windows world.
The basic configuration does work. However, it’s for the main user running the sshd.
The documentation will tell you to have the user run ssh-config-user. However, it’s not enough as you will be tormented by messages of /bin/bash not allowed and the connection dropping right after password entry.
Certain authority rights have to be established for the main account to allow other users to access the box. Try the following:
- editrights -l -u <local or domain/user>
- editrights -a SeAssignPrimaryTokenPrivilege -u <local or domain/user>
- editrights -a SeCreateTokenPrivilege -u <local or domain/user>
- editrights -a SeTcbPrivilege -u <local or domain/user>
- editrights -a SeServiceLogonRight -u <local or domain/user>
- editrights -l -u <local or domain/user>
Restart you cygwin service and you should be able to ssh from any box.