Key questions about this property
The answers below summarize the purpose, scope, default effect, and review scenarios for this property.
| What does it do? |
Specifies whether sudo preserves the environment when the MID Server runs SSH commands. |
| What area does it affect? |
MID Server SSH commands |
| What does the default mean? |
No default value is stated in the ServiceNow documentation. |
| When should you review it? |
Review when SSH commands run through sudo need to retain their environment. |
Property record
Facts stated in the ServiceNow documentation. No out of the box record has been read from an instance yet.
| Property name |
mid.ssh.sudo_preserve_environment |
| Type |
Not stated |
| Application |
Not stated |
| Default value |
Not stated |
| Description |
Not stated |
Sources
Official references and nearby text excerpts where this property appears.
Context preview
Snippet 1
... against a given host. Lowering the number of concurrent connections can slow Discovery. • Type: integer • Default value: 7 for the ServiceNow client 3 for the legacy SSH client. mid.ssh.sudo_preserve_environment © 2026 ServiceNow, Inc. All rights reserved. ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other ...
More in mid
Other properties in the same namespace.
All 257 properties in mid →