summaryrefslogtreecommitdiff
path: root/EndoForge/src/AuthorizedKeysCommand
diff options
context:
space:
mode:
Diffstat (limited to 'EndoForge/src/AuthorizedKeysCommand')
-rwxr-xr-xEndoForge/src/AuthorizedKeysCommand15
1 files changed, 0 insertions, 15 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
2username=$1
3userhome=$2
4fingerprint=$3
5authline="$4 $5"
6
7case "$userhome" in
8 *'"'*) exit ;;
9esac
10
11usercommand=$userhome/.ssh/AnonymousAccessCommand
12
13[ -x "$usercommand" ] || exit
14
15printf 'command="%s",no-port-forwarding %s\n' "$usercommand $fingerprint" "$authline"