Installing an SSH daemon on Windows Vista
I used to bash my head against the wall trying to set up an SSH daemon on Windows Vista with Cygwin or OpenSSH for Windows. Both of them have some messy workarounds and are basically a load of frustration. (Though it is technically possible to make them work.)
But today I came across copSSH, which has great support for Windows Vista. It was easy to set up and should definitely be used instead of Cygwin or OpenSSH.

4 Comments:
How are you liking Vista in general, Derek?
1:58 PM
I like it. The search box in every file explorer window is handy. I don't know that I could recommend an upgrade to everyone.. It's more of a "well, everyone's next PC will come with it anyway" sort of thing.
11:50 AM
From the website, it looks like copSSH basically is cygwin's ssh packaged with a GUI. The only trouble I had with cygwin's ssh was figuring out that "cygrunsrv" is cygwin's tool for installing/removing Windows services. Other than that, the ssh daemon acts just like I'm used to from Linux.
I suppose if you're not already using cygwin, this provides a nicer (and also smaller) package. I find cygwin helpful for my work, though, so I'm used to it. I've never tried installing cygwin under Vista, though, so there may be compatibility problems I'm not aware of.
11:21 PM
The compatibility is definitely better now. Back when Vista Beta 2 came out bash would just die on loading. :)
So under a regular cygwin setup, you would run ssh-host-config to get everything going and then have the service installed and activated - that works great on everything up to Windows Server 2003. In Vista there's some snag with permissions and user accounts that basically copSSH takes care of.
Like I said, it is technically possible to get sshd working through the regular cygwin package on your own, but I can't for the life of me remember what I did the first time I set up Vista. :( Many of the instructions I found googling boiled down to turning off Vista's UAC which I wasn't comfortable with.
cygwin as a whole is handy but in truth any Linux-y stuff I have to do usually takes place on a Linux box anyway.
1:05 AM
Post a Comment
<< Home