first - update cygwin!
add:
  openssh
  wget

then, fix vim:
   cp /usr/share/vim/vim72/vimrc_example.vim ~/.vimrc


optional: putty for cygwin chmod +r /etc/passwd chmod +r /etc/group chmod a-r /var chmod a-w /var chmod +x /var ssh-host-config -y chown SYSTEM /var/empty chmod a-w /var/empty cygrunsrv -S sshd ssh localhost net stop sshd chmod a+w /etc/sshd_config vim /etc/sshd_config add: Port 2222 PasswordAuthentication no ChallengeResponseAuthentication no KerberosAuthentication no KerberosOrLocalPasswd no chmod a-w /etc/sshd_config net start sshd ssh -p 2222 localhost ssh-user-config
http://en.wikipedia.org/wiki/Chmod

1. fix for vim problem: (may be other version than 72 (just tab it):
cp /usr/share/vim/vim72/vimrc_example.vim ~/.vimrc (taken from http://simonmcc.blogspot.com/2005/06/cygwin-vim-rxvt-arrow-key-problems.html)
2. create ssh keys: http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html
3. create openssh with cygwin:
a. the long way: http://pigtail.net/LRP/printsrv/cygwin-sshd.html
b. a little better: http://www.noah.org/wiki/Sshd_on_Windows
puttygen.exe may help
* securing ssh:
vim /etc/sshd_config:
Port <> 22
PasswordAuthentication no
PermitEmptyPasswords no
x. http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/
http://aplawrence.com/SCOFAQ/FAQ_scotec4sshdusers.html
Hosted by www.Geocities.ws

1