diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-26 09:29:50 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-26 09:29:55 -0400 |
commit | 099d70f87208afc6bc0baf098c266c0d705f2453 (patch) | |
tree | c920faf0df43a51d882ab7e31873535b998924de /EndoForge/src | |
parent | d702643534828f72036d19f75c57ca48a4edc07b (diff) |
split OpenSSH_Anonymous_Access from EndoForge
EndoForge now installs OpenSSH_Anonymous_Access as a dependency.
Diffstat (limited to 'EndoForge/src')
-rwxr-xr-x | EndoForge/src/AuthorizedKeysCommand | 15 | ||||
-rw-r--r-- | EndoForge/src/anonymous-access.conf | 10 |
2 files changed, 0 insertions, 25 deletions
diff --git a/EndoForge/src/AuthorizedKeysCommand b/EndoForge/src/AuthorizedKeysCommand deleted file mode 100755 index 6e13063..0000000 --- a/EndoForge/src/AuthorizedKeysCommand +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | username=$1 | ||
3 | userhome=$2 | ||
4 | fingerprint=$3 | ||
5 | authline="$4 $5" | ||
6 | |||
7 | case "$userhome" in | ||
8 | *'"'*) exit ;; | ||
9 | esac | ||
10 | |||
11 | usercommand=$userhome/.ssh/AnonymousAccessCommand | ||
12 | |||
13 | [ -x "$usercommand" ] || exit | ||
14 | |||
15 | printf 'command="%s",no-port-forwarding %s\n' "$usercommand $fingerprint" "$authline" | ||
diff --git a/EndoForge/src/anonymous-access.conf b/EndoForge/src/anonymous-access.conf deleted file mode 100644 index 5cd6b6a..0000000 --- a/EndoForge/src/anonymous-access.conf +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | ExposeAuthInfo=yes | ||
2 | AuthorizedKeysCommandUser=root | ||
3 | AuthorizedKeysCommand=/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 | |||