ssh command crashes after key exchange
Assuming that you're (probably) using homebrew's ssh, I found this reported bug in the openssh formula, which apparently can be fixed by upgrading macOS to 10.12.3:


  Right, that symbol wasn't in 10.12.0, […]
  You can fix it by building from source or by upgrading to 10.12.3.