Remove the warning about libz.dylib
fix ssh crash when there is an error connecting to the host