
Uninstall cygwin under Vista or Windows 7 If you do, you might not have set all privileges correctly
Enter desired username (Michael) and password when you are prompted. Answer yes to all questions making sure when it asks "Do to use a different name?", say "yes" (this question is different with the -y option). Run ssh-host-config (don't force the -y option).
Add additional privileges to allow sshd to run properly:Įditrights.exe -a SeAssignPrimaryTokenPrivilege -u MichaelĮditrights.exe -a SeCreateTokenPrivilege -u MichaelĮditrights.exe -a SeTcbPrivilege -u MichaelĮditrights.exe -a SeServiceLogonRight -u Michael. Check existing permissions for Michael (in case you need to rollback):. You can run sshd as an existing user (Cygwin 1.7.1 and Windows 7)Īdministrator is disabled on Windows 7 by default.įor a regular user, such as Michael, to run sshd.
Ssh-user-config (Answer questions as appropriate to situation) Windows Firewall and open inbound TCP port 22. Say yes to all yes/no questions except for when it asks to use different user for registered services other than 'cyg_server'.Įnter a user that has Administrative privileges and a password.
Right-click Cygwin icon and select Run as administrator.