Difference between revisions of "Guest RSA key"
m |
({{legacy}}) |
||
Line 1: | Line 1: | ||
+ | {{message|icon=[[File:Legacy.svg|75px]]|text=This complicated process is no longer necessary now as we have a publicly accessible mirror of our code available on GitHub at [https://github.com/OrganicDesign github.com/OrganicDesign].}} | ||
{{info|Unfortunately after changing our web server over from [[Apache]] to [[Nginx]], we can no longer offer simple HTTP for anonymous read-only access to our Subversion repositories. But you can access anonymously using the RSA key-pair and instructions provided on this page. Alternatively if you already have an RSA key-pair, you can [[contact]] us with your public key requesting it be added to the ''authorized_keys'' file for read-only access. Note that you must still connect using the ''svn'' user not your own user name.}}{{note|Windows users will unfortunately have a lot more difficulty dealing with Subversion over SSH, but you can do it with [http://tortoisesvn.tigris.org/ Tortois] and [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY]. Tortois works out of the box with PuTTY by using the PuTTY session name in the SVN repo URL instead of the server hostname. A good tutorial covering the set up of PuTTY with RSA keys can be found [http://www.howtoforge.com/ssh_key_based_logins_putty here].}} | {{info|Unfortunately after changing our web server over from [[Apache]] to [[Nginx]], we can no longer offer simple HTTP for anonymous read-only access to our Subversion repositories. But you can access anonymously using the RSA key-pair and instructions provided on this page. Alternatively if you already have an RSA key-pair, you can [[contact]] us with your public key requesting it be added to the ''authorized_keys'' file for read-only access. Note that you must still connect using the ''svn'' user not your own user name.}}{{note|Windows users will unfortunately have a lot more difficulty dealing with Subversion over SSH, but you can do it with [http://tortoisesvn.tigris.org/ Tortois] and [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY]. Tortois works out of the box with PuTTY by using the PuTTY session name in the SVN repo URL instead of the server hostname. A good tutorial covering the set up of PuTTY with RSA keys can be found [http://www.howtoforge.com/ssh_key_based_logins_putty here].}} | ||
Revision as of 16:12, 11 July 2013
This RSA key can be used to access our Subversion repositories with read-only access. First change into your home directory (e.g. cd /home/YOURNAME). Copy the text of both the public and private parts below and paste them into files .ssh/od_rsa.pub and .ssh/od_rsa respectively (.ssh is a hidden directory in your home directory, if it doesn't exist you'll need to create it first). Make sure the private key has mode 600 (e.g. use chmod 600 .ssh/od_rsa). Then add a protocol to your tunnels section in your .subversion/config file that matches the existing ssh tunnel except that it specifies your new key using the -i option as follows:
You can then checkout a repository with the following syntax, and then do any read operations on it as usual.