Email address as username in svn + ssh login?

I need to allow access to the svn repository using email addresses as the username. I can log in to the server via ssh without problems by changing the email address "@" to "$" like this:

ssh user.name$mydomain.com@mydomain.com 

Unfortunately, the same does not work for svn + ssh. This does not lead to anything:

 svn ls svn+ssh:// user.name$mydomain.com@mydomain.com /home/accountname/data/svn/repos 

Does anyone know how this is usually done?

+6
svn login ssh
source share
3 answers

Since this is a URL, have you tried the URL coding of the @ sign? I don't know if this will work, but you can try user.name%40mydomain.com .

+4
source share

As the previous answer says, if you are in a UNIX window, your shell program is probably trying to replace $ as if it were a variable. Try to get out of the $ sign by including a backslash before you do this:

 svn ls svn+ssh://user.name\ $mydomain.com@mydomain.com /home/accountname/data/svn/repos 

Alternatively, if you use single quotes around the URL, BASH or any other shell that you use, you should not try to replace $.

 svn ls 'svn+ssh:// user.name$mydomain.com@mydomain.com /home/accountname/data/svn/repos' 
0
source share

Is $ replaced with the shell you are using? And SVN only has usernames instead of user + email for authentication. I guess this will not work.

-one
source share

All Articles