From dd6b13831d9bc29802de2796cc664a45b127336d Mon Sep 17 00:00:00 2001 From: Martin Blazik Date: Sun, 23 Aug 2020 06:58:03 +0200 Subject: [PATCH] Add keychain SSH agent for all consoles --- scripts/bashrc-workspace | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/bashrc-workspace diff --git a/scripts/bashrc-workspace b/scripts/bashrc-workspace new file mode 100644 index 0000000..0d1e222 --- /dev/null +++ b/scripts/bashrc-workspace @@ -0,0 +1,8 @@ +# must be included from $HOME/.bashrc +# use source /bashrc-workspace + +# https://devblogs.microsoft.com/commandline/sharing-ssh-keys-between-windows-and-wsl-2/ +# https://medium.com/@pscheit/use-an-ssh-agent-in-wsl-with-your-ssh-setup-in-windows-10-41756755993e + +eval $(keychain --eval --quiet --agents ssh id_rsa) +