add example for ssh keys - drist - a remote deployment tool
HTML git clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit a1e02b7cc16011a0321aeadb17c4560ce72cd446
DIR parent 44756b34c121b56dd90e470f98d042cb4268fed1
HTML Author: Solene Rapenne <solene@perso.pw>
Date: Wed, 18 Jul 2018 17:56:36 +0200
add example for ssh keys
Diffstat:
A examples/ssh_keys/Makefile | 3 +++
A examples/ssh_keys/employees/edouar… | 1 +
A examples/ssh_keys/employees/george… | 1 +
A examples/ssh_keys/employees/robert… | 1 +
A examples/ssh_keys/files/home/remot… | 3 +++
5 files changed, 9 insertions(+), 0 deletions(-)
---
DIR diff --git a/examples/ssh_keys/Makefile b/examples/ssh_keys/Makefile
@@ -0,0 +1,3 @@
+all:
+ mkdir -p files/home/remote_user/.ssh/
+ cat employees/*/id_rsa.pub > files/home/remote_user/.ssh/authorized_keys
DIR diff --git a/examples/ssh_keys/employees/edouard/id_rsa.pub b/examples/ssh_keys/employees/edouard/id_rsa.pub
@@ -0,0 +1 @@
+edouard key
DIR diff --git a/examples/ssh_keys/employees/georgette/id_rsa.pub b/examples/ssh_keys/employees/georgette/id_rsa.pub
@@ -0,0 +1 @@
+goergette ki
DIR diff --git a/examples/ssh_keys/employees/robert/id_rsa.pub b/examples/ssh_keys/employees/robert/id_rsa.pub
@@ -0,0 +1 @@
+robert qui
DIR diff --git a/examples/ssh_keys/files/home/remote_user/.ssh/authorized_keys b/examples/ssh_keys/files/home/remote_user/.ssh/authorized_keys
@@ -0,0 +1,3 @@
+edouard key
+goergette ki
+robert qui