svn+ssh with TortoiseSVN logs in ok, PAM opens session, but then PAM immediately closes the session
From: Tech CodeWaggle <tech_at_codewaggle.com>
Date: Thu, 27 Sep 2012 10:56:12 -0400
I'm having problems accessing an SVN repository using TortoiseSVN 1.7.8.
The repository is version 1.6.11 (r934486)
The SVN repository is on a CentOS 6.3 box with openssh 5.3p1:81.el6 and appears to be functioning correctly.
I can access the repository from another CentOS box with this command:
But when I attempt to browse the repository using TortiseSVN from a Win 7 workstation I'm unable to do so using the following path:
I receive the following error from TortoiseSVN:
I'm able to login via SSH from the workstation using Putty.
The results are the same if I attempt access as root.
I've given ownership of the repository /var/svn/ to USER:USER and ran
When I watch the log file using tail -fn 2000 /var/log/secure, I see the following each time TortiseSVN asks for the password and I submit it:
So, I'm actually able to login, but the session is then closed immediately.
I looked into modifying the svnserve.conf, but as far as I can tell, it's not used when accessing the repository via svn+ssh, a private svnserve instance is created for each log in via this method.
I've spent a good amount of time looking through the docs and searching for answers, but no luck. Could this be caused by some settings that I'm missing?
I also posted a question on stackoverflow:
No help there so far.
This is an archived mail posted to the Subversion Users mailing list.