The code page and the line delimiter for terminal sessions can be configured with a series of configuration variables in the sshd2_config file. The variables have default values, which can be overridden with global, host-specific, or user-specific configurations.
The server supports the chcp command on interactive sessions. The command is typically used in the user's .profile logon script to set the code page to be applied in the terminal connections. For details, see the IBM document z/OS USS User's Guide.