As per title, has anyone achieved this? What are the best practices on including this library into codeigniter (v2.1.2) ?
I know it can be done by simply using include/r
the $this->load->library
method is for libraries that already exist within codeigniter.
You could create a wrapper for the PHPSecLib class, however what's probably easiest at the moment is to simply include it.
include the file.
include(APPPATH . '/third_party/phpseclib/Net/SSH2.php');
Create an instance of class your wanting to use.