I was getting
OpenSSL version mismatch. Built against 30000070, you have 30100030
``
on macos. There was an issue with the openssh that macports had installed.
sudo port uninstall openssh
fixed the issue, but possibly broke something. (I may find out eventually.)