On Mac OS X Leopard - when I try and access a remote repository from Terminal it always asks for: 1. Password 2. Username 3. Password (again)
with the message: "Authentication realm: http://svn.myserver.com:80 Subversion"
I've checked and my credentials are being stored in Keychain and SVN has access to them. Why won't it use them?
I don't have the answer, but I notice that if I'm logged into my machine locally, then subversion will read the keychain password, but if I ssh into the mac from a remove machine, then subversion will not read the keychain password.
Seems that the ssh login puts the svn command in an environment which does not have access to the keychain...
Could that be your issue?
I got this solved by recursively changing the owner of the subversion authentication directory:
sudo chown -R myuser:staff ~/.subversion/auth/
(previous user:group pair was set to
root:staff
)You also need to set
password-stores = keychain
on subversion configuration file:~/.subversion/config