Upgrading openssh on Mac OS Yosemite

Great tutorial by mochtu.de.

brew install openssl
brew install openssh --with-brewed-openssl --with-keychain-support
sudo sed -i '' 's/\/usr\/bin\/ssh-agent/\/usr\/local\/bin\/ssh-agent/' /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
sudo mv /usr/bin/ssh /usr/bin/ssh_old
sudo ln -s /usr/local/bin/ssh /usr/bin/ssh

Leave a Reply

Your email address will not be published. Required fields are marked *