I got a question: How can I encapsulate a SSH server's output into a HTTP request, only using scripting ?
I want the HTTP request to be valid, with headers and all those things.
Further details: I want to establish a ssh connection between 2 hosts, but i need this connection to be encapsuled into HTTP packets along the way.
Thanks
PS: I do not want to install anything, I want to do this only with scripts.
Edit: As it does not seem clear, I'm not asking for all done scripts by one of you guys.
What I want to know is, what can be done to redirect the output of a SSH server to a text file or anything. I want to take this output and put it into a HTTP request, but I don't know how to "redirect" the output of the SSH server.
This is, amongst other things, what I want to do.