Skip to content

Instantly share code, notes, and snippets.

@pdostal
Last active December 27, 2015 13:33
Show Gist options
  • Save pdostal/530fc5a38068c47c7971 to your computer and use it in GitHub Desktop.
Save pdostal/530fc5a38068c47c7971 to your computer and use it in GitHub Desktop.
Current OpenSSH release on OS X
# From: Dctr Watson
# How to Update OpenSSH on Mac OS X
# http://www.dctrwatson.com/2013/07/how-to-update-openssh-on-mac-os-x/
brew tap homebrew/dupes
brew install openssh --with-brewed-openssl --with-keychain-support
launchctl stop org.openbsd.ssh-agent
launchctl unload -w /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
sudo vi /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
# replace /usr/bin/ssh-agent with /usr/local/bin/ssh-agent
launchctl load -w -S Aqua /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
export SSH_AUTH_SOCK=$(launchctl getenv SSH_AUTH_SOCK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment