SVN Account Conversion FAQ
Not that there are many questions about the conversion of password based svn accounts to ssh-based ones, but the FAQ-format is nice to address a bunch of random questions.
After converting my account, it asks for a password when committing, and I don’t know what to give in. Help?
The point here is that the svn switch command we have given you has not been completed successfully. Unfortunately svn does not tell you that. What you need to do is run svn info and see what the URL is. In most cases the problem is that the username is not in the URL. So you need to use the following command: svn switch –relocate https://svn.kde.org svn+ssh://username@svn.kde.org
The first argument after –relocate must match the URL found in the svn info command.
You have failed to setup my account properly, it closes the connection as soon as I try to commit anything.
Yeah, another nice uninformative error message. The problem is that you have an offending key for svn.kde.org in you known hosts file. Try doing ‘ssh username@svn.kde.org’. If that result in something that looks like garbage, it is ok. Else it will give an error message which shows which line in your .ssh/known_hosts is offending. Remove that line and try again.
Note, only remove that line if you run into this problem right after conversion, if you are already using ssh based svn and get this error suddenly, chances are high there is a man in the middle attack.
Is rsa better than dsa?
Google for that one :)
I use git-svn, can I convert my existing checkout?
Hmwah, yes, you can, but it is not straight forward. Some followed this tutorial with success. You should use svn+ssh://username@svn.kde.org/home/kde format as the new url. We have a sysadmin bugreport with some more detailed information. We can subscribe you when you want, just let us know on #kde-sysadmin.
Can I use multiple ssh keys for my svn account?
Yes You Can. Just file a sysadmin bugreport at this location. Make sure your bugzilla login matches your email address in the kde-common/accounts though.
Can I use the same ssh key on multiple computers?
Yes You Can. Please note that when copying your key files, you must make sure the permissions are exactly identical to the place you copied it from. Making your private key world readable and writable makes ssh refuse to use that key.