Add keychain
SSH agent for all consoles
This commit is contained in:
8
scripts/bashrc-workspace
Normal file
8
scripts/bashrc-workspace
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user