I am using a Debian server.
I am using the user svn for SVN. svn's home directory is
/home/svn. All repositories are in
/home/svn/.ssh there is a file
authorized_keys. This file contains the following line:
command="/usr/bin/svnserve -t -r /srv/svn/ --tunnel-user=<user>",no-port-forwarding,no-pty,no-agent-forwarding,no-X11-forwarding ssh-rsa AAAA<...>NhQ== <user>
When I try to connect to the server with the given ssh key , it works, so there should be no problem. But when I try to open the repository (I use TortoiseSVN on Windows with Pageant) with
it asks me for a password.
I have tried this with existing user <user> and non-existing user <user> on my server. Neither works.
What should I do to get it working? Did I miss anything?
Edit: Okeyyy, new info!
I have now set the permissions. Guess what.. svn can login! <user> can't.
But adding the user <user> to the OS and adding a home directory and copying the auth file to his directory WORKS. Now <user> can also login.
That's not really what I want. Is it possible to just make use of one file and use users which do not exist in the OS?