ssh tunneling - help required

Associate
Joined
21 Apr 2008
Posts
1,087
Location
By the river
I have a ssh connection on a windows box running through putty and all is well. However I'm trying to copy this connection's settings onto to a linux machine, and i'm having difficulties using the openssh config file.

Problem:
In the windows putty GUI i have two SSH tunnels which are both configured as below (not the real port numbers or server name :p):

Source Port = "1234"
Destination = "myremoteboxname:1234"

How do i transfer that into my ~/.ssh/config user file?
I so far have the hostname and port i need to connect on. this works fine.
What do i need to add to generate the tunnels?
I cant make head or tail of the manual syntax, and googling hasen't helped either!

could someone please shed some light on the problem

TIA
 
Back
Top Bottom