chiark
/
gitweb
/
~mdw
/
chopwood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sshsvc.conf: Configuration file for `sshsvc-mkauthkeys'.
[chopwood]
/
sshsvc.conf
diff --git a/sshsvc.conf
b/sshsvc.conf
new file mode 100644
(file)
index 0000000..
d6cc1ea
--- /dev/null
+++ b/
sshsvc.conf
@@ -0,0
+1,12
@@
+### -*-sh-*-
+
+cmd="./chpwd"
+
+make_key_line () {
+ user=$1
+ case $user in
+ chpwd@*) var=CHPWD_SSH_MASTER user=${user#*@} ;;
+ *) var=CHPWD_SSH_USER ;;
+ esac
+ echo "environment=\"$var=$user\""
+}