Hi
Probably someone can help me...
To describe what I like to do i will show it in a little work-flow (or something like this).
Computer at school ----[SSL]----> my Server ----[SSH2] ----> Any Server with SSH
I have to do it like this, because the administrators at school won't open the secure SSH-Protokoll for communications to WAN. So i try to connect first thrugh a SSL-tunnel to my Server at home which has a front-end (WebGUI) for the connection Informations to the SSH Server and establishes the Connection to the Server. When the connection is established id like to have the ability to enter Shell-Commands in a Formular-Field and the ssh2-Modul (PECL) executes the Command on the remote Server and shows me th result.
Where Am I now...
The SSL Connection to my Server is done.
The ssh2-modul is installed and works fine.
The connection to the remote Server can be established and also the Login as specified User.
The Command can be executet BUT I can't display any results of the command. In example the list of a Directory with "ls -l".
After the Command was executet probably i reci ve a stream. But i have absolutly no idea how i can turn the stream into a string. If its possible...
I hope someone understand what i'm talking about and can help me. Sorry about my English...
Greets and Thanks a lot
Magnes