From 6622f7300d87194f105d823f9472939b6de250b7 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Sat, 2 Nov 2024 01:37:09 +0000 Subject: [PATCH] get id_rsa pass from manager --- dot_config/environment | 4 ++++ dot_local/bin/private_executable_get_id_rsa_pass | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 dot_local/bin/private_executable_get_id_rsa_pass diff --git a/dot_config/environment b/dot_config/environment index 8e286cf..fd60a64 100644 --- a/dot_config/environment +++ b/dot_config/environment @@ -7,6 +7,10 @@ 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_local/bin/private_executable_get_id_rsa_pass b/dot_local/bin/private_executable_get_id_rsa_pass new file mode 100644 index 0000000..97c1367 --- /dev/null +++ b/dot_local/bin/private_executable_get_id_rsa_pass @@ -0,0 +1,2 @@ +#!/bin/sh +rbw unlock && rbw get id_rsa