I found this question after searching for the first line of this error:
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
Referenced from: /opt/local/lib/libgssapi_krb5.2.2.dylib
Reason: image not found
Abort trap: 6
That I saw not from using vapor, but instead, as the result of using ssh and scp and git after upgrading some packages.
I think it's unwise to downgrade most packages as @Smokie and others suggested doing with openssl (especially for security-related packages).
So I generalized the answer posted by @MichalCichon on solving the problem with install_name_tool and that seems to have taken care of my issue (at least for now with ssh and scp; I think I'll be able to use a variant of this solution if the problem comes up again with another executable).
Because it was the non-existent /opt/local/lib/libcrypto.1.0.0.dylib library that was missing, and because I had a /opt/local/lib/libcrypto.1.1.dylib after upgrading, and because ssh and scp were referencing /opt/local/lib/libgssapi_krb5.2.2.dylib in an attempt to find /opt/local/lib/libcrypto.1.0.0.dylib, I just used install_name_tool like this:
$ sudo install_name_tool -change /opt/local/lib/libcrypto.1.0.0.dylib\
/opt/local/lib/libcrypto.1.1.dylib\
/opt/local/lib/libgssapi_krb5.2.2.dylib
Then tried running ssh again. It failed again, but this time with a different error:
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
Referenced from: /opt/local/lib/libkrb5.3.3.dylib
Reason: image not found
Abort trap: 6
So then I did:
$ sudo install_name_tool -change /opt/local/lib/libcrypto.1.0.0.dylib\
/opt/local/lib/libcrypto.1.1.dylib\
/opt/local/lib/libkrb5.3.3.dylib
and tried ssh again. Again it failed, but with yet another different error:
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
Referenced from: /opt/local/lib/libk5crypto.3.1.dylib
Reason: image not found
Abort trap: 6
So then I did:
$ sudo install_name_tool -change /opt/local/lib/libcrypto.1.0.0.dylib\
/opt/local/lib/libcrypto.1.1.dylib\
/opt/local/lib/libk5crypto.3.1.dylib
and tried ssh again. Again it failed, but with yet another different error:
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
Referenced from: /opt/local/lib/libkrb5support.1.1.dylib
Reason: image not found
Abort trap: 6
So then I did:
$ sudo install_name_tool -change /opt/local/lib/libcrypto.1.0.0.dylib\
/opt/local/lib/libcrypto.1.1.dylib\
/opt/local/lib/libkrb5support.1.1.dylib
and tried ssh again. Finally, ssh and scp and git resumed working as expected.
Thank you @MichalCichon for a great answer that I was able to generalize beyond vapor to allow myself to continue using ssh without downgrading my openssl!