User Tools

Site Tools


sandbox:windows10-wls-ssh-agent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sandbox:windows10-wls-ssh-agent [2019/10/23 22:36] (current)
dreiggy created
Line 1: Line 1:
 +====== Use an ssh-agent in WSL with your ssh setup from windows 10 ======
  
 +To enable ssh-agent work on multiple wls tabs, install ''keychain'':
 +<code bash>
 +sudo apt install keychain
 +</code>
 +
 +Next add to the end of ''~/.bashrc'':
 +<code bash>
 +/usr/bin/keychain --nogui $HOME/.ssh/id_rsa
 +source $HOME/.keychain/$HOSTNAME-sh
 +</code>
sandbox/windows10-wls-ssh-agent.txt ยท Last modified: 2019/10/23 22:36 by dreiggy