The code pages or translation table for code page conversion and the line delimiters for EOL conversion can be specified in the server configuration files. For interactive sessions, the code pages are the initial values (they can be changed with the chcp command).
The configuration variables have defaults which are used if the
variables are not specified in any configuration file. The values specified
in sshd2_config
override the defaults and can
themselves be overridden by settings in host-specific or user-specific
subconfiguration files. For more infomation, see
User-Specific Subconfiguration and
Host-Specific Subconfiguration).
Subconfiguration files are read in when a terminal session is started - they can be changed without restarting the server or the client connection.
The related configuration variables are:
ShellAccountCodeset
defines the CCS expected by the shell and shell applications.
ShellTransferCodeset
defines the coded character set (CCS) on the line.
ShellAccountLineDelimiter
defines the line delimiter expected by the shell and shell applications.
ShellTransferLineDelimiter
defines the line delimiter on the line.
ShellConvert
defines whether conversions are to be done for shell access and remote command execution.
ShellTranslateTable
defines the MVS translate table to be used from line to shell.