Added script to import already installed ssh- and gpg keys
This commit is contained in:
parent
6ddc952e50
commit
e383a40f6c
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/roles/user-account/files/ssh/
|
||||||
|
/roles/user-account/files/gnupg/
|
7
import-local-keys.sh
Executable file
7
import-local-keys.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
mkdir -p roles/user-account/files/ssh
|
||||||
|
cp -v /home/mandlm/.ssh/id_rsa* roles/user-account/files/ssh/
|
||||||
|
|
||||||
|
mkdir -p roles/user-account/files/gnupg
|
||||||
|
cp -rv /home/mandlm/.gnupg/* roles/user-account/files/gnupg/
|
Reference in New Issue
Block a user