From 1724d7d6ca67cc3c484db19e23b3e27fa64bb3a5 Mon Sep 17 00:00:00 2001 Message-Id: <1724d7d6ca67cc3c484db19e23b3e27fa64bb3a5.1714790247.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 3 Sep 2013 10:49:55 +0100 Subject: [PATCH] .ssh: Generate the awful authorized_keys file. Organization: Straylight/Edgeware From: Mark Wooding --- .ssh/.gitignore | 1 + .ssh/Makefile | 4 ++++ .ssh/sshsvc.conf | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 .ssh/.gitignore create mode 100644 .ssh/Makefile create mode 100644 .ssh/sshsvc.conf diff --git a/.ssh/.gitignore b/.ssh/.gitignore new file mode 100644 index 0000000..81bbbae --- /dev/null +++ b/.ssh/.gitignore @@ -0,0 +1 @@ +keys/ diff --git a/.ssh/Makefile b/.ssh/Makefile new file mode 100644 index 0000000..97781dc --- /dev/null +++ b/.ssh/Makefile @@ -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 index 0000000..0b32980 --- /dev/null +++ b/.ssh/sshsvc.conf @@ -0,0 +1,4 @@ +### -*-sh-*- + +env="VMCTL_GROUP=@user" +cmd='bin/vmctl $SSH_ORIGINAL_COMMAND' -- [mdw]