turn openssh into a library