From 431a6620bcf45378ef2ab214b16d9dd112cec643 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Tue, 15 Jul 2025 22:49:51 +0000 Subject: [PATCH] fix: let ssh config handle ForwardAgent and AddKeysToAgent instead of forcing specific sockets or paths! --- .bashrc | 3 --- config/ssh/config | 2 -- 2 files changed, 5 deletions(-) diff --git a/.bashrc b/.bashrc index 5829d95..6f51c51 100644 --- a/.bashrc +++ b/.bashrc @@ -111,9 +111,6 @@ export NIXPKGS_ALLOW_UNFREE=1 # Allow insecure nixpkgs export NIXPKGS_ALLOW_INSECURE=1 -# 1Password SSH Agent -export SSH_AUTH_SOCK=$HOME/.1password/agent.sock - # Tradaware / DiscountOffice Configuration if [ -d "/home/menno/Projects/Work" ]; then export TRADAWARE_DEVOPS=true diff --git a/config/ssh/config b/config/ssh/config index 4fe0a89..bd70cfc 100644 --- a/config/ssh/config +++ b/config/ssh/config @@ -1,6 +1,4 @@ Host * - IdentityFile ~/.ssh/mennos-2025.pem - IdentityAgent ~/.1password/agent.sock AddKeysToAgent yes ForwardAgent yes