I cannot figure out how to create public / private keys for other users on my server. On my server, I type the following through the shell
(uiserver): john:> ssh-keygen -t dsa
After that, I enter the file names and password that successfully result in the private key and a pair of public keys for "john". Now, when I use this key for ssh in my subversion repository (sitting on john), all actions are logged as "john". It's fine.
So, I want to create a public / private key pair for "george" so that it can access my server. I repeated ssh-keygen from my server. Then I gave the secret key to George. George successfully installed the key, but each time he performs an action in the svn repository, subversion records his actions as "john" instead of "george". How to get subversion to recognize the difference between "george" and "john"?
I looked at authorized_keys2, and I noticed that the last comment for both keys is "john @uiserver". I tried to edit the comment, but subversion still cannot recognize the difference between george and john.
Additional Information
I have a semi-working solution based on Giuliano's answer. I went to the david machine (linux), made the prv / pub keys, attached the pub key to john authorized_keys2. Excellent! SVN registers david changes as david.
I went to the george machine (windows xp), used puttygen to create the prv / pub keys, the pub key attached to john authorized_keys2. George can access svn, but all of his changes are still recorded as john. I am trying to use the bojo tunneling solution as soon as I find out where to configure it in TortoiseSVN.
ANSWER
I used option 2 of bojo's answer. In the end, all I had to do was add the following line to my authorized_keys2
command="svnserve -t --tunnel-user=george",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-dss <george long public key> == meaningful comment
I also added a line
george=george password
in my / pathtorepository / conf / passwd to my subversion password file