Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.

SSH

Solving Problem Situations

This section gives workaround instructions on common error situations that may occur when using Tectia client tools for z/OS or when using other Secure Shell clients to connect to Tectia Server for IBM z/OS.

Interactive Login from Unix to z/OS

When interactively logging in from a Unix (usually HP-UX) client host to an Tectia Server for IBM z/OS host, the terminal is garbled and the shell does not accept input properly.

This happens because user terminals on Unix (especially HP-UX) often have the istrip (strip-8th-bit) flag on. This setting gets inherited by the pseudo terminal on z/OS which causes an interactive /bin/sh session malfunction.

To avoid the anomaly, do one of the following steps:

  • Give the command "stty -istrip" on the Unix host before connecting the z/OS host with Secure Shell.

    OR

  • Call "stty -istrip" on the z/OS host in the shell init file ($HOME/.profile or equivalent).

    To avoid surprises, check that the shell has a tty before calling stty:

    if [ tty >/dev/null 2>&1 ]; then
      stty -istrip
    fi
    

===AUTO_SCHEMA_MARKUP===