Created
November 13, 2021 01:41
-
-
Save ansell/0b75ef616c8e12b6e3431f7ee8cf5007 to your computer and use it in GitHub Desktop.
WSL ssh-agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following are the instructions to install an ssh-agent inside of WSL | |
Run the following: | |
```bash | |
sudo apt-get install keychain | |
``` | |
then add the following to `~/.bashrc` | |
```bash | |
/usr/bin/keychain -q --nogui "${HOME}/.ssh/id_ed25519" | |
source "${HOME}/.keychain/${NAME}-sh" | |
``` | |
then either `source ~/.bashrc` or logout and back in again. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment