commit 29857e9c584b957de3eb76c4cae87840aa7f8eda parent 81db1e6a224d73ac98580698f499f4bc60dbd417 Author: pyratebeard <root@pyratebeard.net> Date: Fri, 21 May 2021 16:01:52 +0100 ssh keys module pub keys for devices, script to install Diffstat:
A | ssh_keys/files/authorized_keys | | | 3 | +++ |
A | ssh_keys/script | | | 4 | ++++ |
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ssh_keys/files/authorized_keys b/ssh_keys/files/authorized_keys @@ -0,0 +1,3 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINbJuOGNQ5m0EJsWP7Zb33EOgz1x6VbH0iDB1N6GRDml fortkickass +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKt/wwXaosaeM5qml7SyqPmxvcNdNdpatN94nAdzcMtS wht-rht-obj +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFgI7SUwZBfva54Oh5Q00ISUFpu+XB7WT4LLgpyGqRDU artoo diff --git a/ssh_keys/script b/ssh_keys/script @@ -0,0 +1,4 @@ +#!/bin/sh +[ -d $HOME/.ssh/ ] || mkdir $HOME/.ssh +mv ./authorized_keys $HOME/.ssh/authorized_keys +chmod 600 $HOME/.ssh/authorized_keys