This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Struggling to setup sshd with Windows Vista

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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]