Struggling to setup sshd with Windows Vista
Kevin Hilton
kevhilton@gmail.com
Tue Dec 25 14:58:00 GMT 2007
Thanks for the last tip about deleting the sshd user. I did that and
know everything works.
Just to summarize for anyone who is trying to get this working on Windows Vista
Open two cygwin shells - one in Administrator mode (right click->Run
Administrator mode), the other as a normal user
Uninstall Steps (From previous attempted failed installations)
In Adminstrator shell
1. net stop sshd
2. cygrunsrv -R sshd
3. net user
Delete any user listed like sshd or sshd_server. The following
syntax is to be used:
net user sshd /DELETE
4. rm -R /etc/ssh*
5. mkpasswd -cl > /etc/passwd
6. mkgroup --local > /etc/group
In User shell
1. cd ~
2. rm -R .ssh
Installation Steps
In Administrator shell
1. ssh-host-config -y
2. net start sshd
In User shell
1. ssh-user-config (Answer questions as appropriate to your situation)
2. Test connection:
ssh -vvv localhost
Things you don't need to do:
1. Turn off UAC
2. Add/Delete Users through any other interface
3. Change file permissions (on /var/empty for example)
Hopefully this will help someone -- A lot of threads out there
complaining of problems on Vista
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list