天天看點

Setup SSH and SVN on Windows Server

cygwin: install sshd, cygrunsrv

http://lifehacker.com/205090/geek-to-live--set-up-a-personal-home-ssh-server

http://grokcode.com/115/how-to-setup-a-windows-svn-repository/

if fails to start sshd, check log at /var/log/sshd.log

setup windows firewall

http://www.windowsnetworking.com/articles-tutorials/windows-server-2008/install-SSH-Server-Windows-Server-2008.html

setup subversion

dump and import repos

transfer file over ssh

scp -P [port_number] [local_file] [username]@[host_address]:/path/to/destination/directory/