From 78b0463b512011c974f2af696fcf94dd63b3b6b2 Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Sat, 22 Aug 2026 11:49:09 +0200 Subject: [PATCH] fix: dont spawn SSH Agent UI for password --- dot_environment | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot_environment b/dot_environment index 3579614..f13636d 100644 --- a/dot_environment +++ b/dot_environment @@ -7,6 +7,11 @@ export LANG=en_US.UTF-8 # Prefered programs export EDITOR='vim' +# Force ssh/ssh-add to always prompt for passphrases in the terminal. On WSL, +# DISPLAY is set (WSLg) and the ssh-askpass package is installed, so without +# this OpenSSH prefers popping up a GUI askpass dialog instead of asking here. +export SSH_ASKPASS_REQUIRE='never' + if type bat > /dev/null; then export MANPAGER='bat -plman' export PAGER='bat'