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