chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/sshsvc.conf: Include configuration file for `sshsvc-mkauthkeys'.
[tripe]
/
contrib
/
sshsvc.conf
diff --git a/contrib/sshsvc.conf
b/contrib/sshsvc.conf
new file mode 100644
(file)
index 0000000..
9537164
--- /dev/null
+++ b/
contrib/sshsvc.conf
@@ -0,0
+1,12
@@
+### -*-sh-*-
+
+cmd="bin/knock"
+
+make_key_line () {
+ user=$1
+ case "$user" in
+ %gw:*) e=TRIPE_GATEWAY=${user#*:} ;;
+ *) e=TRIPE_USER=$user ;;
+ esac
+ echo "environment=\"$e\""
+}