Add more error checks to ssh_connect().
Add more error checks to ssh_connect().


git-svn-id: b1dee0d48e635e16c3b356ce77271b225d4db9f7@487 7dcaeef0-15fb-0310-b436-a5af3365683c

mwgoldsmith/ssh,rofl0r/libssh,Distrotech/libssh,pouete/libssh,jahrome/libssh,taikoo/libssh,mwgoldsmith/ssh,taikoo/libssh,wangshawn/libssh,nviennot/libssh,jt1/honeypot-libssh,nviennot/libssh,robxu9/libssh,kedazo/libssh,substack/libssh,mwgoldsmith/libssh,bigcat26/libssh-mod,elastichosts/libssh,pouete/libssh,sebadoom/libssh,wangshawn/libssh,mwgoldsmith/libssh,jahrome/libssh,mwgoldsmith/libssh,mwgoldsmith/ssh,jt1/honeypot-libssh,nviennot/libssh,miloj/libssh-v0.5,taikoo/libssh,elastichosts/libssh,robxu9/libssh,robxu9/libssh,nviennot/libssh,kedazo/libssh,rofl0r/libssh,substack/libssh,Distrotech/libssh,sebadoom/libssh,jahrome/libssh,sebadoom/libssh,rofl0r/libssh,kedazo/libssh,substack/libssh,jt1/honeypot-libssh,miloj/libssh-v0.5,elastichosts/libssh,pouete/libssh,DouglasHeriot/libssh,Distrotech/libssh,substack/libssh,jahrome/libssh,bigcat26/libssh-mod,Distrotech/libssh,DouglasHeriot/libssh,miloj/libssh-v0.5,mwgoldsmith/libssh,jt1/honeypot-libssh,mwgoldsmith/ssh,sebadoom/libssh,DouglasHeriot/libssh,pouete/libssh,miloj/libssh-v0.5,taikoo/libssh,kedazo/libssh,rofl0r/libssh,bigcat26/libssh-mod,wangshawn/libssh,robxu9/libssh,wangshawn/libssh,DouglasHeriot/libssh,bigcat26/libssh-mod