Hi,
I need to write an application that enables ssh tunneling for various ports.
(Using openssl or any other library)
The steps involved are :-
1. Open a ssh session (conection ?)
2. Authenticate etc etc
3. wait for a user to enter a port number.
4. Enable port forwarding on the specified local / remort port
Now I want to do steps 3&4 on the same session, rather than open new ssh
connections
everytime. Is this possible ?
I tried searching the net, but nowhere did I find any thing that tells me
that I can do
port forwarding after establishing an ssh connection.
Any ideas if this is possible ? I have been looking at various library docs
till now, and
they dont explain if its possible to do this.
I am still trying to find some good docs on ssh that explain the protocol in
a simple
manner.
Thanks
Shahed