Thanks Alex, So far it has been helpful.
So based on the RFC, I understand that the host key received from the server has following components K_S || f || s I need to parse the K_S part for RSA key. How do I do that. Also, how can I implement a generic logic for getting the bit strength from the host key.
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel