Run “cygwin setup.exe”
Under Net, include OpenSSH
(pic)
Start the cygwin shell
>cd /d C:\cygwin >cygwin Copying skeleton files.These files are for the user to personalisetheir cygwin experience. These will never be overwritten. `./.bashrc' -> `/home/Administrator//.bashrc'`./.bash_profile' -> `/home/Administrator//.bash_profile'`./.inputrc' -> `/home/Administrator//.inputrc' user@host ~$
4. Create default ssh host settings
user@host ~$ ssh-host-configGenerating /etc/ssh_host_keyGenerating /etc/ssh_host_rsa_keyGenerating /etc/ssh_host_dsa_keyGenerating /etc/ssh_config filePrivilege separation is set to yes by default since OpenSSH 3.3.However, this requires a non-privileged account called 'sshd'.For more info on privilege separation read /usr/share/doc/openssh/README.privsep. Should privilege separation be used? (yes/no) yesWarning: The following function requires administrator privileges!Should this script create a local user 'sshd' on this machine? (yes/no) yesGenerating /etc/sshd_config fileAdded ssh to C:\WINNT\system32\drivers\etc\services Warning: The following functions require administrator privileges! Do you want to install sshd as service?(Say "no" if it's already installed as service) (yes/no) yes Which value should the environment variable CYGWIN have whensshd starts? It's recommended to set at least "ntsec" to beable to change user context without password.Default is "ntsec". CYGWIN=ntsec tty The service has been installed under LocalSystem account.To start the service, call `net start sshd' or `cygrunsrv -S sshd'. Host configuration finished. Have fun!
5. Start the sshd service.
user@host ~$ net start sshdThe CYGWIN sshd service is starting.The CYGWIN sshd service was started successfully.
6. Create default user settings. (Basically, the .ssh user directory.)
user@host ~$ ssh-user-configShall I create an SSH1 RSA identity file for you? (yes/no) noShall I create an SSH2 RSA identity file for you? (yes/no) noShall I create an SSH2 DSA identity file for you? (yes/no) no Configuration finished. Have fun!
References
