Can't brows svn repo / svn asks for password
Added by Robert Gruendler over 14 years ago
I'm getting the message "The entry or revision was not found in the repository." when browsing remote svn repositories in projects (via svn+ssh). After running redmine with webrick in debug mode, i noticed that svn seems to ask for a password when redmine shells out the svn command, even if the password has been setup in the projects repository settings.
The following command demands a password, even though it's being passed in the argument list:
svn --config-dir /homs/myuser log --xml -r 4036:4001 --username xxxx --password xxxx --no-auth-cache --non-interactive --verbose 'svn+ssh://www.example.com/path/to/svnrepository'
One thing i noticed is that the path to the home directory is incorrect, it should be /home/myuser instead of /homs/myuser.
I've tried running the above command as a user that has a public ssh-key setup on the remote machine where the repository resides, and the command run fine without a password prompt. Whenever i run the command with a user without a public key setup, i'm being asked for a password.
I'm using svn version 1.6.5 on the machine where redmine is running.
Has anyone a hint how to prevent the password prompt?
Replies (1)
RE: Can't brows svn repo / svn asks for password
-
Added by Felix Schäfer over 14 years ago
I suppose ~myuser
points to /homs/myuser
rather than /home/myuser
, i.e. I think you might have made a mistake when creating the user. Correct that, it should work then.