Created
October 20, 2023 07:26
-
-
Save srathi-monarch/e0fa64acca70e6a4665432634a929159 to your computer and use it in GitHub Desktop.
TTY Wide SSH Agent (for ssh where your key has a password on the remote system)
This file contains 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
#! /usr/bin/zsh | |
eval $(ssh-agent) ; ssh-add $ZDOTDIR/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment