I have svnserve
configured to run from inetd
and svnserve.conf
set to use sasl for authentication. This is so I could allow access to some repositories by users who do not have system-wide accounts using svn://
.
However, for users who do have a system account (such as myself), I prefer to use svn+ssh://
for the public key authentication. It was my understanding that when run as svnserve -t
, svnserve would not ask for authentication and would use the SSH-authenticated current user. I feel like this used to work. Today when I went to update a working copy I had using the svn+ssh://
repository path it started asking me for a password.
I was able to confirm that it is not SSH asking me for the password, the public key authentication is succeeding, it is svnserve/sasl asking me for a password. If I turn off sasl, it seems to work as expected, but I prefer sasl over the plaintext password file. I'm not sure if this never worked or it was broken by a recent upgrade that I didn't notice. This is with subversion 1.9.4 on Debian stretch.