summaryrefslogtreecommitdiff
path: root/OpenSSH_Anonymous_Access/OpenSSH_Anonymous_Access
blob: c6d0bfc38b0c209af4036a2aed1de446eb5dc1ee (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# First argument is OpenSSH auth line.
# Following arguments are the ForceCommand.
keys=$1
shift
if [ -x "$1" ]
then printf 'restrict,pty,command="%s" %s\n' "$*" "$keys"
fi