Skip to content

Instantly share code, notes, and snippets.

@ansell
Created November 13, 2021 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ansell/0b75ef616c8e12b6e3431f7ee8cf5007 to your computer and use it in GitHub Desktop.
Save ansell/0b75ef616c8e12b6e3431f7ee8cf5007 to your computer and use it in GitHub Desktop.
WSL ssh-agent
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