I have cloned libssh library and built it with cmake. Building process was like this :
git clone https://git.libssh.org/projects/libssh.git/ mkdir build in libssh