Your browser does not allow storing cookies. We recommend enabling them.

SSH Tectia 
PreviousNextUp[Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Getting Started with SSH Tectia Server for IBM z/OS >>
    Configuring the Server >>
    Configuring the Client >>
    Authentication >>
    Transferring Files >>
    Tunneling >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Advanced Information >>
        Running Remote Commands >>
        Submitting JCL Jobs over Secure Shell
        Configuration Options in Load-Balanced Environments
    Man Pages >>
    Log Messages >>

Configuration Options in Load-Balanced Environments

To tunnel traffic between clients and balanced hosts, the SSH traffic needs to be balanced on the load balancer instead of the port traffic.

Example scenario:

Client machine needs to reach which is load-balanced by three machines (,, and The load balancer may forward the client's request to either machine on the port the daemon is listening on. The first request may go to and the second request may go to If the client's request goes to and is forwarded to, the SSH tunnel will terminate on the load balancer.


  • Client has SSH Tectia Client (or Connector) installed.
  • Balanced hosts have SSH Tectia Servers installed.
  • The load balancer forwards the clients' port 22 requests to balanced hosts.
  • In order for tunneling to work, all the balanced hosts must use the same port, for example 8080 (now 8080, 8000 and 9000).
  • The clients create connections to with local tunnels 80:
  • The load balancer forwards the traffic to one of the balanced hosts and a local listener is created on Windows.
  • Now, when the SSH connection is created between the client and the balanced host, the client uses its application and connects to localhost:80. Traffic is forwarded to the SSH connection and to the balanced host.

If this is not possible, there are two choices:

  1. You can end the tunnel at the load balancer. In this case, the traffic between the client ( and the load balancer ( is encrypted and the traffic between the balancer and the balanced hosts is not encrypted. Therefore you should create an SSH connection from the client to the balancer with a local tunnel 80:
  2. Another possibility is to install SSH Tectia Servers to balanced hosts and create the direct tunnels between the client and the balanced hosts. In this case, a load balancer cannot be used, but the balancing needs to be done in a different way, for example by using a round-robin DNS.

PreviousNextUp[Contents] [Index]

[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2007 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice


Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more