Difference between revisions of "SVN Access"

From Studio Grow Wiki
Jump to: navigation, search
(Created page with "== How To: Gain Access To SVN Repository On Windows == <div style="width:300px; padding:0.4em; background-color:#ccffcc; border:1px solid #aaaaaa;"> Requires: * [http://www.chiar...")
 
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<div style="width:300px; padding:0.4em; background-color:#ccffcc; border:1px solid #aaaaaa;">
 
<div style="width:300px; padding:0.4em; background-color:#ccffcc; border:1px solid #aaaaaa;">
 
Requires:
 
Requires:
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY + PuTTYgen]
+
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY & PuTTYgen]
* [http://tortoisesvn.tigris.org/ TortoiseSVN]
+
* [http://tortoisesvn.net/downloads.html TortoiseSVN]
* Your Private Key (ask Tim for one)
+
* Your Private Key
 
</div>
 
</div>
  
# Open PuTTYgen.
+
* Run PuTTYgen
# Choose Conversions -> Import Key. Choose the private key file. Click "Save Private Key". Save as mykey.ppk. Close PuTTYgen.
+
## Click Conversions->Import Key...
# Open PuTTY.
+
## Navigate to and select your private key
# Input 75.98.165.66 in the Hostname box
+
## Click Actions->Save Private Key
# Input 7822 in the Port box
+
## Save the putty private key file somewhere
# Input RPSVN in the Saved Sessions box
+
## Close PuTTYgen
# In the options tree on the left-hand side, click on SSH->Auth. Under "Private key for Authentication", browse to the mykey.ppk file that you created in the previous section.
+
 
# Click back on Session, and click Save.
+
 
# Close PuTTY.
+
* Run Putty and make a new session:
 +
## Hostname: 75.98.165.66
 +
## Port: 7822
 +
## Protocol: SSH
 +
## Saved Sessions: GrowSVN
 +
## Connection->Data->auto-login username: oshroth
 +
## Connection->SSH->preferred protocol: 2
 +
## Connection->SSH->Auth->private key file: path\to\privatekey.ppk
 +
## Click "Save" on the sessions panel to save this config.
 +
## Click Open to test your session.
 +
The following window should appear if the test was successful:
 +
 
 +
[[File:Putty success.png]]
 +
 
 +
If an error message appears, double check all your details are correct and try again. If the problem persists contact Tim.
  
 
Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository:
 
Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository:
 
<blockquote>
 
<blockquote>
svn+ssh://oshroth@RPSVN/home/oshroth/repos/3rdyr1
+
svn+ssh://GrowSVN/trunk
 
</blockquote>
 
</blockquote>
  
Line 29: Line 43:
  
 
[Note that TortoiseSVN defaults to using PuTTY to handle your SSH connections. During installation, TortoiseSVN registers itself as a handler for the svn+ssh protocol, and by default it calls upon an application called TortoisePlink (which is based on PuTTY) to deal with the SSH connection.  This application uses the profile/session settings created by PuTTY, and this whole process is usually invisible to you.]
 
[Note that TortoiseSVN defaults to using PuTTY to handle your SSH connections. During installation, TortoiseSVN registers itself as a handler for the svn+ssh protocol, and by default it calls upon an application called TortoisePlink (which is based on PuTTY) to deal with the SSH connection.  This application uses the profile/session settings created by PuTTY, and this whole process is usually invisible to you.]
 +
 +
To start working with SVN (initially):
 +
# Right-click a folder that you want to add to version control and select SVN Checkout...
 +
# Enter svn+ssh://GrowSVN/trunk
 +
# Click OK
 +
# You may receive an warning about a non-empty folder, click OK
 +
# Once the checkout finishes, click OK

Latest revision as of 01:55, 15 January 2014

How To: Gain Access To SVN Repository On Windows

Requires:

  • Run PuTTYgen
    1. Click Conversions->Import Key...
    2. Navigate to and select your private key
    3. Click Actions->Save Private Key
    4. Save the putty private key file somewhere
    5. Close PuTTYgen


  • Run Putty and make a new session:
    1. Hostname: 75.98.165.66
    2. Port: 7822
    3. Protocol: SSH
    4. Saved Sessions: GrowSVN
    5. Connection->Data->auto-login username: oshroth
    6. Connection->SSH->preferred protocol: 2
    7. Connection->SSH->Auth->private key file: path\to\privatekey.ppk
    8. Click "Save" on the sessions panel to save this config.
    9. Click Open to test your session.

The following window should appear if the test was successful:

Putty success.png

If an error message appears, double check all your details are correct and try again. If the problem persists contact Tim.

Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository:

svn+ssh://GrowSVN/trunk

The easiest way to test that you have the correct URL format is to attempt the following:

  1. Right-click on any Windows folder and choosing TortoiseSVN->repo-browser.
  2. Input the URL as described above
  3. Attempt to browse the repository. If everything is correct you will be able to browse it without receiving error messages.

[Note that TortoiseSVN defaults to using PuTTY to handle your SSH connections. During installation, TortoiseSVN registers itself as a handler for the svn+ssh protocol, and by default it calls upon an application called TortoisePlink (which is based on PuTTY) to deal with the SSH connection. This application uses the profile/session settings created by PuTTY, and this whole process is usually invisible to you.]

To start working with SVN (initially):

  1. Right-click a folder that you want to add to version control and select SVN Checkout...
  2. Enter svn+ssh://GrowSVN/trunk
  3. Click OK
  4. You may receive an warning about a non-empty folder, click OK
  5. Once the checkout finishes, click OK