Original post

Hi,

Please pardon me for silly questions as I am new to . :slight_smile:

Using GO’s ssh package https://godoc.org/golang.org/x/crypto/ssh, I am trying to implement SSH tunneling using port forwarding.

I have implemented a ssh client and sshd server. The ssh handshake is successful using Private/Public keys for authentication.
On the remote machine where sshd is running, I need to forward the request to a Port which is exposed locally and is behind Apache Server.
As far as I know, Apache accepts only http/https requests. On the other hand the request tunneled via ssh client – sshd is of type “tcp”.

It would be indeed grateful if anyone will be able to help me out!

Thanks in advance

Regards,
Akshat