Q: PHP - HTTP tunnel for SSH to a remote server I have the following problem/idea:
I want to access a hidden remote machine with SSH, but the network I am in does not allow a connection through port 22 (SSH) so I want to try a HTTP or more like a HTTPS tunnel over port 443 to my SSH port 22. But I am a bit limited and so I thought about a 2 server solution where I connect to the first server over the HTTP tunnel and then just forward all SSH requests to the second hidden server.
But I have only PHP on the first server.
The connection should look something like that:
 _______        _______       _______
|My     |______|       |_____|Hidden |
|Machine|_HTTP_|Server |_SSH_|Server |
|_______|      |_______|     |_______|

(I know the ASCII drawing is not the best)
My Question is now: Can I make a PHP HTTP tunnel with my server to my hidden server? And if yes how? Because the ssh2_tunnel documentation is not good.
Or is there even a easier method to connect to my hidden server?
