Cygwin

Setting up an Open SSH Server (sshd) on Windows and Sharing a Git Repository

I have a Windows 7 desktop and a MacBook Air. I prefer working in OSX, but my Windows 7 Core i7 processor w/ 6 GB of Memory / Intel solid state hard drive runs circles around my MacBook Air w/ Core2 Duo Processor and only 2 GB of ram.

Considering I like to work when I am on the road (carpool), I need an easy way to share files between my Windows Desktop and my MacBook Air laptop. Since I love Git, I will describe a simple way to do this.

1. Set up SSH Server on Windows 7
http://www.scottmurphy.info/open-ssh-server-sshd-cygwin-windows

2. Set up Git

Making Cygwin Windows VIM Work Right (Backspace, Delete, Arrow Keys)

The default Cygwin installation of VIM just sucks. It makes you think it is broken or buggy, but really there is nothing wrong with it. It just isn't configured right.

If you are experiencing backspace/arrow key inconsistencies with you VIM on Windows, all you have to do is the copy /usr/share/vim/{VIM_VERSION}/vimrc_example.vim to ~/.vimrc

e.g.:
cp /usr/share/vim/vim72/vimrc_example.vim ~/.vimrc

Then launch vi and start loving vi all over again!

Thanks go to:
http://simonmcc.blogspot.com/2005/06/cygwin-vim-rxvt-arrow-key-problems....

Setting up an Open SSH Server (sshd) on Windows

Set up Cygwin & SSH Server on Windows 7

1a. Download Cygwin - http://www.cygwin.com/
1b. Run setup.exe
1c. Choose an install location. C:\cygwin is fine (I typically have it 1 more level up with all of my dev tools. Something like C:\dev\cygwin)
1d. Choose a package location C:\cygwin\packages (I like to keep everything together)
1e. For Internet Connection, Choose Direct Connection
1f. For Download Site, Pick an http one that looks fast or close.
1g. For Package Selection, select at least the following:
Net > OpenSSH
Net > OpenSSL

Syndicate content