I would like to configure an Apache2 server in such a way that it requires a valid SSH public key to be provided as a means of identification.
Background, I'm setting up a development server including Subversion repository, under severe security restrictions. I know I could use [tt]svnserve[/tt] and svn+ssh://example.com/svn... to tunnel SVN through SSH, but for various reasons (not the least of which being the number of running server processes) I would much prefer to use Apache and mod_dav_svn (i.e., https://example.com/svn...).
Users of this server will be required to use SSH pubkey authentication for their login. Now, I would like to use the same SSH pubkey for authentication against Apache / SVN. The problem is, I am not very knowledgeable at either Apache modules or PAM modules, so I could use some advise...
Apache2, Subversion & SSH
Apache2, Subversion & SSH
Every good solution is obvious once you've found it.