Namespace

mid.ssh

27 ServiceNow system properties in this namespace, with what each one does.

mid.ssh.algorithms.cipher Defines the MID Server SSH cipher algorithm priority list; comma-separated entries set the order, while +, -, and ^ append, remove, or prioritize algorithms relative to the default list.
mid.ssh.algorithms.host_key Sets the MID Server's SSH host key algorithm list and priority; a comma-separated list replaces the defaults unless operators are used to append, remove, or move algorithms to the front.
mid.ssh.algorithms.kex Modifies the MID Server SSH key exchange algorithm list; comma-separated entries set priority order, while operators can append, remove, or move algorithms to the front of the default list.
mid.ssh.algorithms.mac Sets the MID Server SSH MAC algorithm priority list; the first algorithm listed has the highest priority, and operators can append, remove, or move algorithms to the front of the default list.
mid.ssh.alt_rm Specifies a different SSH command for file removal by the MID Server.
mid.ssh.channel_timeout mid.ssh.channel_timeout sets the inactivity period, in milliseconds, after which the MID Server closes an SSH connection.
mid.ssh.command_timeout_ms Sets the maximum execution time, in milliseconds, for an SSH command handled by the MID Server.
mid.ssh.debug Controls whether SSH debug information is recorded in the MID Server log; its behavior depends on whether the ServiceNow SSH client is enabled.
mid.ssh.dh_group_length_max Sets the upper limit, in bits, for the Diffie-Hellman group length used to generate shared-secret keys for SSH connections.
mid.ssh.dh_group_length_min Sets the minimum Diffie-Hellman group length used to generate shared-secret keys during SSH key exchange; the default is 1024 bits.
mid.ssh.disable_history For SSH connections, determines whether the MID Server sends HISTFILE=/dev/null to prevent shell session history from being saved on the target host.
mid.ssh.disable_privilege_check When enabled, the MID Server assumes the credential user can run any command string following sudo on the target; the setting has no effect for other privileged commands.
mid.ssh.discard_lrc_error Controls whether error output from long-running SSH commands is discarded to emulate legacy behavior, with separate default settings for j2ssh and sncssh.
mid.ssh.initial_delay_ms Sets the delay, in milliseconds, before the legacy SSH client sends probe commands after connecting to a target.
mid.ssh.local For the legacy SSH client, enables commands for the MID Server host (localhost) to run via SSH rather than from a console.
mid.ssh.max_retries Sets how many times a MID Server retries an SSH operation after a timeout, with a two-second wait between connection attempts.
mid.ssh.path_override Defines colon-separated directories for SSH command lookup, with append, replace, or prepend prefixes controlling how they combine with the host's path.
mid.ssh.pool_thread_ratio Sets the permitted SSH session pool capacity based on a percentage of the MID Server's configured thread count, with a minimum capacity of 25 sessions.
mid.ssh.session_timeout Sets the idle retention period for cached SSH sessions used by the ServiceNow SSH client, in milliseconds.
mid.ssh.set_path Controls whether the MID Server sets the PATH environment variable when running commands over SSH.
mid.ssh.shells_supported Lists the Bourne-compatible shells supported by the MID Server as a comma-separated value.
mid.ssh.socket_timeout Sets how long the SSH socket can wait before timing out, giving devices with slower authentication responses more time to connect.
mid.ssh.sudo_preserve_environment Specifies whether sudo preserves the environment when the MID Server runs SSH commands.
mid.ssh.suppress_history For the legacy SSH client, setting mid.ssh.suppress_history to true prevents generation of the SSH history file.
mid.ssh.terminal.width Sets the maximum characters per line for sudo -l output handled in the SSH terminal; values that are too low can split output across lines and affect parsing.
mid.ssh.use_keyboard_interactive When enabled, MID Server SSH connections use keyboard-interactive authentication with SSH daemons on which the mode is activated.
mid.ssh.use_snc Enables SNCSSH for SSH operations on the MID Server and disables the legacy J2SSH client there.