blob: 6e13063b7c7cd7884dbf125e9adc490e44dae61c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
username=$1
userhome=$2
fingerprint=$3
authline="$4 $5"
case "$userhome" in
*'"'*) exit ;;
esac
usercommand=$userhome/.ssh/AnonymousAccessCommand
[ -x "$usercommand" ] || exit
printf 'command="%s",no-port-forwarding %s\n' "$usercommand $fingerprint" "$authline"
|