Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Launch ssh-agent on boot (OSX macos)
<plist version="1.0">
#!/usr/bin/env bash
# Usage:
# curl -sSL | bash
# or:
# wget -qO- | bash
mkdir -p "$dest"
cd "$dest"
curl -sLO "$url"

This comment has been minimized.

Copy link

@ephsmith ephsmith commented May 4, 2018

This is a great example of a login service!

A different approach solved my ssh-agent issues. I added global IdentityFile entries to ~/.ssh/config for each of my keys.

IdentityFile ~/.ssh/git_rsa
IdentityFile ~/.ssh/id_rsa 

Problem solved!

GitHub has also updated their documentation to include similar advice, but I found it necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment