This wrapper is not enabled by default:
In order to use the ssh2.*:// wrappers you must install
the SSH2 extension
available from PECL.
In addition to accepting traditional URI login details, the ssh2 wrappers
will also reuse open connections by passing the connection resource in the
host portion of the URL.
Example M-2. Opening a stream from an active connection