MacOS – Installing macOS 10.12.4 beta 2 breaks OpenSSH installed via homebrew

beta-seed-programhomebrewmacossshterminal

  • ssh: OpenSSH_7.4p1, LibreSSL 2.4.5 (installed via homebrew)
  • System Version: macOS 10.12.4 (16E154a)

Error:

me@mymac:~$ ssh foo@bar.local
dyld: lazy symbol binding failed: Symbol not found: _arc4random_buf
  Referenced from: /usr/local/bin/ssh
  Expected in: /usr/local/opt/libressl/lib/libcrypto.38.dylib

dyld: Symbol not found: _arc4random_buf
  Referenced from: /usr/local/bin/ssh
  Expected in: /usr/local/opt/libressl/lib/libcrypto.38.dylib

Abort trap: 6

Any advice how to solve this problem? This also breaks my git pushes (using ssh, obviously)

Best Answer

brew reinstall openssh

Solved the issue completely