MacOS – How to enable ssh v1 in MacOS Sierra

macosssh

I have just updated to MacOS Sierra, and found that openssh version 1 has beed disabled or removed.

ssh1 is not supported

I have to use ssh1 for some server, how can I enable ssh1?

Or can I install another openssh which support ssh1 tentatively?

Best Answer

Here's my github repo trying to solve the problem by patching the openssh in homebrew/dupes. It's far from perfect but works.

Basically you have to:

brew tap homebrew/dupes
curl -fsSL https://github.com/boltomli/MyMacScripts/raw/master/homebrew/homebrew-dupes.openssh.diff | patch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes/openssh.rb
brew install openssh --with-ssh1