Last active
December 27, 2015 13:33
-
-
Save pdostal/530fc5a38068c47c7971 to your computer and use it in GitHub Desktop.
Current OpenSSH release on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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