I run sudo apt-get install libssh2-1-dev libssh2-php I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssh2-php is already the newest version.
libssh2-1-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
But it does not work. I don't see them installed when run php -m |grep ssh2 #you should see ssh2
What steps would you take next? One thing to note that when I ran sudo apt-get update I noticed that it's connecting to http://archive.ubuntu.com trusty/multiverse . Could that be an issue?