Search This Blog

Monday, July 9, 2012

SVN setup with Cygwin and sshd

1. SSH setup

2. Create svn repository
svnadmin create /home/svn

3. If you want to restore the repository from another location
svnadmin load /home/svn < [dumpfile-name]

4. Test
svn list svn+ssh://user@[ip address]/home/svn

5. If you want to use another port but standard ssh port '22', it is strongly suggested to edit '.ssh/config'.
Example of the content in '.ssh/config' with ssh port '515'

host localhost
        Hostname localhost
        Port 515

6. For TortoiseSVN, you may want to edit SSH client with new port configuration. In the 'Network', you can fill SSH client with the following:

"C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe" -P 515


No comments:

Post a Comment

Blog Archive