Using SSH keys in WSL2 command line
Hi,
I've set up WSL2 with Ubuntu 22.04 and I created a few SSH keys for GitHub. But now I do not know how could I use these keys in command line in WSL2 Am I supposed to install 1Password Linux command line tools inside WSL2? How do I then integrate the tools with git inside WSL2?
Thank you for your help.
1Password Version: 8.0.13
Extension Version: 2.14.1
OS Version: Windows 10/WSL2
Browser: Firefox
Comments
-
Can anyone help with this?
0 -
I'm also interested in this topic. Can we use the 1P SSH Agent in WSL2 without third-party tools/scripts?
0 -
All you have to do is alias
ssh
andssh-add
to their Windows equivalents,ssh.exe
andssh-add.exe
. If you're looking to use ssh with git it does require a bit more work:
https://justinbarclay.ca/posts/1password-across-the-void/0