On WSL, Ubuntu:
sudo apt-get install keychain
Edit your ~/.bashrc
, ~/.zshrc
and add the following to the bottom of your file:
# For Loading the SSH key
/usr/bin/keychain -q --nogui "${HOME}/.ssh/id_rsa"
source "${HOME}/.keychain/${HOSTNAME}-sh"
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
On WSL, Ubuntu:
sudo apt-get install keychain
Edit your ~/.bashrc
, ~/.zshrc
and add the following to the bottom of your file:
# For Loading the SSH key
/usr/bin/keychain -q --nogui "${HOME}/.ssh/id_rsa"
source "${HOME}/.keychain/${HOSTNAME}-sh"