From 28588ff57e94739728aefe17e3810f3acaeb816d Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 17 Jan 2025 08:35:11 -0500 Subject: [PATCH] only force using id_rsa password for that key --- dot_config/environment | 4 ---- dot_config/zsh/dot_zshrc | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dot_config/environment b/dot_config/environment index fda8015..111a7f5 100644 --- a/dot_config/environment +++ b/dot_config/environment @@ -10,10 +10,6 @@ export SVDIR="$XDG_STATE_HOME"/service export EDITOR=nvim export SUDO_EDITOR=nvim -# ssh -export SSH_ASKPASS=get_id_rsa_pass -export SSH_ASKPASS_REQUIRE=force - # wayland export MOZ_ENABLE_WAYLAND=1 export QT_QPA_PLATFORM=wayland diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index 82d92a3..48a19cb 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -81,7 +81,7 @@ if command -v keychain >/dev/null; then alias keychain="keychain --nolock --absolute --dir $XDG_RUNTIME_DIR" eval "$(keychain --quick --eval)" rbw unlock - ssh-add ~/.ssh/id_rsa + SSH_ASKPASS=get_id_rsa_pass SSH_ASKPASS_REQUIRE=force ssh-add ~/.ssh/id_rsa fi ### End user configuration