Skip to content

Instantly share code, notes, and snippets.

View TETRIS45666's full-sized avatar
💭
I may be slow to respond.

TETRIS45666

💭
I may be slow to respond.
View GitHub Profile
# Note: ~/.ssh/environment should not be used, as it
# already has a different purpose in SSH.
env=~/.ssh/agent.env
# Note: Don't bother checking SSH_AGENT_PID. It's not used
# by SSH itself, and it might even be incorrect
# (for example, when using agent-forwarding over SSH).
agent_is_running() {