From: Mark Wooding Date: Tue, 3 Sep 2013 09:49:55 +0000 (+0100) Subject: .ssh: Generate the awful authorized_keys file. X-Git-Url: https://git.distorted.org.uk/~mdw/vmctl/commitdiff_plain/1724d7d6ca67cc3c484db19e23b3e27fa64bb3a5 .ssh: Generate the awful authorized_keys file. --- 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'