Skip to content

Instantly share code, notes, and snippets.

@srathi-monarch
Created October 20, 2023 07:26
Show Gist options
  • Save srathi-monarch/e0fa64acca70e6a4665432634a929159 to your computer and use it in GitHub Desktop.
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)
#! /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