COPSSH tunneling / port forwarding

2 posts / 0 new
Last post
tcs
Offline
Last seen: 9 years 2 months ago
Joined: 04.04.2012 - 21:41
COPSSH tunneling / port forwarding

we purchased copssh to tunnel incoming connections to a different port number on the same machine we installed openssh on.

we would like the listening port 22 of copssh to forward/tunnel to a listening port 23 on the same machine

 

is there any documentation on how to accomplish this?

itefix
Online
Last seen: 7 min 53 sec ago
Joined: 01.05.2008 - 21:33
I am not sure if it will work

I am not sure if it will work as Copssh listens to the same port (22) you want to forward. Anyway, you can try the following syntax (assuming that your Copssh computer is 10.10.10.10, user name is user and you use ssh/plink as ssh clients)

ssh/plink -T -N -L 22:127.0.0.1:23 user@10.10.10.10

 

 You can also have a look at following references for examples or information about port forwarding:

Remote Desktop and SSH for the home user

Port forwarding - Wikipedia, the free encyclopedia

Red Hat Magazine | SSH Port Forwarding

SSH/OpenSSH/PortForwarding - Community Ubuntu Documentation