Thread: SSH problems
View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#4
Originally Posted by cincibluer6 View Post
Alright, well, I have copssh listening on port xxx and I ssh with this
Code:
ssh -L5901:127.0.0.1:5900 your.ip.add.ress -lWinUsername -p xxx -v
I assume that's right because I'm going for port xxx while trying to VNC into the 5900 port right?

So afaict, since copssh is on the xxx port and my vnc (for now) is on the standard 5900 port, it should be working right?
That should be okay, yes, but ssh is definitely getting to the VNC server (hence the RFB 003.008 in the debug output). That would suggest that either the VNC server is listening on port xxx (in which case you should get an error when starting copssh), or you're port forwarding port xxx on your router to port 5900 on your PC.
 

The Following User Says Thank You to Rob1n For This Useful Post: