Skip to content

Instantly share code, notes, and snippets.

@ivanrad
Created August 26, 2023 16:42
Show Gist options
  • Save ivanrad/78167adf8ced38f34f88834f5126d664 to your computer and use it in GitHub Desktop.
Save ivanrad/78167adf8ced38f34f88834f5126d664 to your computer and use it in GitHub Desktop.
ssh rc
#!/usr/bin/env bash
if [ -S "$SSH_AUTH_SOCK" ]; then
ln -sf "$SSH_AUTH_SOCK" /tmp/ssh_auth_sock
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment