chiark
/
gitweb
/
~mdw
/
dyndns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6644341
)
.ssh/sshsvc.conf: Newer version of `sshsvc-mkauthkeys'.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 24 Apr 2015 09:43:37 +0000
(10:43 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 24 Apr 2015 09:43:37 +0000
(10:43 +0100)
.ssh/sshsvc.conf
patch
|
blob
|
blame
|
history
diff --git
a/.ssh/sshsvc.conf
b/.ssh/sshsvc.conf
index 5099cdd8ca295c6442afe12373b27ae099b86dca..d90ee8b3688ae32261952a3333e1af21b019056c 100644
(file)
--- a/
.ssh/sshsvc.conf
+++ b/
.ssh/sshsvc.conf
@@
-1,5
+1,7
@@
### -*-sh-*-
### -*-sh-*-
+cmd=bin/update
+
make_key_line () {
user=$1
hosts=""
make_key_line () {
user=$1
hosts=""
@@
-17,6
+19,5
@@
make_key_line () {
case ${hosts+t} in t) ;; *) continue ;; esac
line="environment=\"DYNDNS_HOST=$hosts\""
line="$line${zone:+,environment=\"DYNDNS_ZONE=$zone\"}"
case ${hosts+t} in t) ;; *) continue ;; esac
line="environment=\"DYNDNS_HOST=$hosts\""
line="$line${zone:+,environment=\"DYNDNS_ZONE=$zone\"}"
- line="$line,command=\"bin/update\""
echo "$line"
}
echo "$line"
}