.ssh: Generate the awful authorized_keys file.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 3 Sep 2013 09:49:55 +0000 (10:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 3 Sep 2013 09:49:55 +0000 (10:49 +0100)
.ssh/.gitignore [new file with mode: 0644]
.ssh/Makefile [new file with mode: 0644]
.ssh/sshsvc.conf [new file with mode: 0644]

diff --git a/.ssh/.gitignore b/.ssh/.gitignore
new file mode 100644 (file)
index 0000000..81bbbae
--- /dev/null
@@ -0,0 +1 @@
+keys/
diff --git a/.ssh/Makefile b/.ssh/Makefile
new file mode 100644 (file)
index 0000000..97781dc
--- /dev/null
@@ -0,0 +1,4 @@
+### -*-makefile-*-
+
+authorized_keys: keys $(wildcard keys/*.pub)
+       sshsvc-mkauthkeys
diff --git a/.ssh/sshsvc.conf b/.ssh/sshsvc.conf
new file mode 100644 (file)
index 0000000..0b32980
--- /dev/null
@@ -0,0 +1,4 @@
+### -*-sh-*-
+
+env="VMCTL_GROUP=@user"
+cmd='bin/vmctl $SSH_ORIGINAL_COMMAND'