Sep 08

1. Download cygwin from http://cygwin.com/. Run the setup program and select the packages you want. The simplest thing to do is to get the default packages that are selected for you by the installer, plus “cygrunsrv” from the admin category and “openssh” from the net category. I found installing cygwin to be the easiest part of the process, and if you get stuck there’s lot’s of great help out there…

2. Edit C:cygwincygwin.bat. Make sure it contains the following setting for the CYGWIN environmental variable:

set CYGWIN=binmode tty ntsec

2. Start a cygwin bash shell. If cygwin installed correctly, you should be able to find it in start->programs->cygwin.

3. Make sure cygrunsrv is installed by typing “cygrunsrv -S sshd”. This is the command that will start the sshd server, but that’s not installed yet. If you get an error from cygrunsrv like “service does not exist” then you’re on the right track. If you get “command cygrunsrv not found” then go back over your install and make sure you get cygrunsrv.
Continue reading »

written by MG \\ tags: ,