VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home

SSH Port Forwarding

E-mail Print

SSH provides a feature known as port forwarding (or tunneling) that allows you to securely tunnel data from other less secure applications through the SSH encrypted session.  Connections can either be initiated locally and forwarded to a server on the remote network or can be initiated on the remote and forwarded to the local network.  X11 forwarding can also be performed, which is always from the remote host to local network.

SSH port forwarding is available in AbsoluteTelnet/SSH in either SSH1 mode or SSH2 mode.  The feature can be accessed through the Options->Properties->Connection menu on either the SSH1 or SSH2 tab.

ssh port forwarding

Click the 'Forwarding' button to bring up the forwarding configuration dialog (below)

ssh forwarding setup

Multiple forwarding channels can be added.  Click the 'Add' button to add either a 'remote to local' or 'local to remote' forwarding definition.  Click the 'X Forwarding' button to enable X11 forwarding.  Remember, though, that if you have an openly active session, you'll have to disconnect and reconnect to enable all of the new forwarding definitions.  When you click the 'Add' button, you'll be able to add a forwarding definition (below).

ssh forwarding definition

On this dialog, use the radio buttons on the left to forward either a local port to the remote network or a remote port to the local network. 

 LOCAL FORWARDING:

When enabled, network connections to your client machine on the local port will be forwarded to the remote machine on the given port.  The remote machine could be either your SSH host or any machine reachable from the SSH host.  You can enter either an IP address or hostname, but the address must be resolvable on and reachable from the SSH host.  For 'adapter', you can choose between:

  1. 'ALL ADAPTERS' - allows all connections to the local port (including those originating from another node on your local network) to be forwarded to the remote machine on the remote port.
  2. 'LOCAL CONNECTIONS ONLY' - Forwards only connections originating from applications running on YOUR PC to the remote machine on the remote port.
  3. Specific adapter - allows only connections made to a specific network adapter (if you have more than one) to be forwarded.

REMOTE FORWARDING:

When enabled, network connections to the SSH server on the remote port will be forwarded to the local machine on the given port.  The remote machine could be either your PC  or any machine reachable from your PC.  You can enter either an IP address or hostname, but the address must be resolvable on and reachable from your PC. 

Last Updated on Wednesday, March 04, 2009 01:26 am  

Recent Forum Posts

info in Secure Shell by russellg, Apr 22, 2024 09:51 am
info in Secure Shell by bpence, Jan 29, 2024 09:01 am
info in Secure Shell by bpence, Nov 17, 2023 09:44 am
info in AbsoluteTelnet General by bpence, Nov 14, 2023 06:55 am
info in Configuration issues by taa1, Nov 05, 2023 04:26 pm
I've tried lots of different telnet/ssh clients, and I have two long-time favorites: Putty and Absolute Telnet. Putty, because it's such a quick download that on someone else's machine i can run it without going through an install, and it runs ssh. But for my own machine, the only choice is Absolute Telnet. It stores my password, terminal appearance and connection settings so that it's literally 2 seconds from clicking the icon to being logged in to my remote ssh accounts. It's incredibly customizeable, but not overwhelmingly so. I hardly ever pay for software (I'm embarassed to say), but I like Absolute Telnet so much I've paid for the full version and I'm glad I did. It's important to note that this software is maintained by one guy, Brian Pence, who personally answers people's questions on his online forum and answers email inquiries (he's answered a couple of mine, and always been really helpful). I gotta say, you hardly ever get this kind of commitment and personal touch in software anymore. --Ben Wheeler