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

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
    


 

 
PrivX
 

 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now