Add keychain

SSH agent for all consoles
This commit is contained in:
Martin Blazik
2020-08-23 06:58:03 +02:00
parent ca14639f7a
commit dd6b13831d

8
scripts/bashrc-workspace Normal file
View File

@@ -0,0 +1,8 @@
# must be included from $HOME/.bashrc
# use source <path>/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)