User Tools

Site Tools


sandbox:windows10-wls-ssh-agent

Use an ssh-agent in WSL with your ssh setup from windows 10

To enable ssh-agent work on multiple wls tabs, install keychain:

sudo apt install keychain

Next add to the end of ~/.bashrc:

/usr/bin/keychain --nogui $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOSTNAME-sh
sandbox/windows10-wls-ssh-agent.txt · Last modified: 2019/10/23 22:36 by dreiggy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki