From 19f2786398e0dd54fbe740c837a13694b1422c53 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Mon, 3 Aug 2026 03:48:41 +0200 Subject: [PATCH] Add public `ssh` keys ... ... to allow other people to give me access to their systems --- .local/bin/install-dotfiles | 6 ++++++ .ssh/authorized_keys | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 .ssh/authorized_keys diff --git a/.local/bin/install-dotfiles b/.local/bin/install-dotfiles index 56f6656..91c9af8 100755 --- a/.local/bin/install-dotfiles +++ b/.local/bin/install-dotfiles @@ -97,6 +97,12 @@ _git config --local status.showUntrackedFiles no _git remote set-url origin "$DOTFILES_SSH" +if [ -f "$HOME/.ssh/authorized_keys" ]; then + chmod 700 "$HOME/.ssh" + chmod 600 "$HOME/.ssh/authorized_keys" +fi + + if command -v batcat >/dev/null 2>&1 && ! command -v bat >/dev/null 2>&1; then mkdir -p "$XDG_BIN_HOME" ln -sf "$(command -v batcat)" "$XDG_BIN_HOME/bat" diff --git a/.ssh/authorized_keys b/.ssh/authorized_keys new file mode 100644 index 0000000..b72f2bd --- /dev/null +++ b/.ssh/authorized_keys @@ -0,0 +1,5 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOhhfx063dGoaE62cbdyGL3kp1AIovWFojQGNdqUpxr8 alexander@webartifex.de (laplace) +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMRDaWrT2hH7BOV4Zv1ctVGqwfeqkssnHklRXBmng6Wr alexander@webartifex.de (lazarus) +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN0GVKtgpgzpdf7E6e2vCytDSa2zPSgZ+8fAKCOotugH alexander@webartifex.de (peter) +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDq2JDk3pX79p7ampZhVQxIZg4qaUBkTPIQSbK0XeKoc alexander@webartifex.de (wilddog) +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGGNCrFt/gUbBHVqhthBuRmdDH6yS30+GGcCnARSzg+q alexander@webartifex.de (wolfram)