summaryrefslogtreecommitdiff
path: root/anonymous-access.conf
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-22 15:22:37 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-23 11:17:15 -0400
commita19dce5c18f6d6370b58aa3b9dd26550a589fc8c (patch)
treeb8625d617d8ad85e0715b36400411f53d9ad1a75 /anonymous-access.conf
Minimal Git/SSH Rhizome
Requires Sudo access to configure OpenSSH. It would be possible to run OpenSSH on a non-default port and not require root access. That is not implemented.
Diffstat (limited to 'anonymous-access.conf')
-rw-r--r--anonymous-access.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/anonymous-access.conf b/anonymous-access.conf
new file mode 100644
index 0000000..5cd6b6a
--- /dev/null
+++ b/anonymous-access.conf
@@ -0,0 +1,10 @@
1ExposeAuthInfo=yes
2AuthorizedKeysCommandUser=root
3AuthorizedKeysCommand=/etc/ssh/AuthorizedKeysCommand %u %h %f "%t %k"
4
5# %u The username.
6# %h The home directory of the user.
7# %f The fingerprint of the key or certificate.
8# %t The key or certificate type.
9# %k The base64-encoded key or certificate for authentication.
10