How does one add a port forward to an openSSH live connection?

Kenneth Burgener kenneth at mail1.ttak.org
Mon Feb 23 13:41:11 MST 2009


On 2/23/2009 8:45 AM, Doran L. Barton wrote:
> On Monday 23 February 2009 08:32:50 Kenneth Burgener wrote:
>   
>> The putty ssh client is an awesome tool.  I also love the fact that
>> putty has a Linux, Windows and Mac client, so I can use it from most any
>> environment.  One of the features I love is the ability to add a port
>> forward from a live connection.  This way I can keep my currently
>> forwarded applications running, without having to kill everything then
>> reconnect.  Can openSSH add a port forward to a live connection?
>>     
>
> Yes. You have to issue the "escape character" which, unless you've changed it, 
> is ~ (preceded by a newline) and then "C". This will give you a command-line 
> at which you can type -L or -K commands. This is all documented in the ssh man 
> page.

That's it!

Thanks Doran, Jake and Nicholas.

And sure enough it is in the SSH under "Escape Characters", but not 
under the "TCP Forwarding" section I had read.  I think they should make 
reference to this powerful ability in the "TCP Forwarding" section, 
don't you?

Thanks,
Kenneth




More information about the PLUG mailing list