diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-23 12:52:42 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-23 12:52:42 -0400 |
commit | 2e5909e761f40e42684fbaa71f3b5bcb49500567 (patch) | |
tree | 335259ca973c5e07807fcb97fb09a1f49fb2a1dc /src/AuthorizedKeysCommand | |
parent | 4d14156fd5b306b366b4d74e1a5bbf82e0ae081a (diff) |
move all files to EndoForge
Diffstat (limited to 'src/AuthorizedKeysCommand')
-rwxr-xr-x | src/AuthorizedKeysCommand | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/AuthorizedKeysCommand b/src/AuthorizedKeysCommand deleted file mode 100755 index 6e13063..0000000 --- a/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" | ||