From 9aaef26dcf7dac65f622d8aa6099ce120c9e83bc Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 29 Aug 2022 20:22:06 +0100 Subject: [PATCH] Stop adding SSH keys automatically --- roles/home-cli/files/shrc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index c720ec3..5e3a23e 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -210,14 +210,6 @@ then alias dnf=yum fi -if [ -S "$SSH_AUTH_SOCK" ] \ - && [ -r "$HOME/.ssh/id_ed25519" ] \ - && [ -r "$HOME/.ssh/id_ed25519.pub" ] \ - && [ "$(ssh-add -l | grep -c "$(ssh-keygen -l -f "$HOME/.ssh/id_ed25519.pub")")" = 0 ] -then - ssh-add "$HOME/.ssh/id_ed25519" -fi - usermotd () { if [ -n "$_acp_motd_shown" ] then