Just finished building ssh2. Main problem is that os x comes with open ssl 0.9.5a libraries but no headers.
1) Download latest zlib from
http://www.freesoftware.com/pub/infozip/zlib/
unpack it...
cd into the dir
run these three
./configure --prefix=/usr/local/zlib-1.1.3
make
sudo...