Skip to content

SSH Policy

An SSH Policy configures the SSH service on UCS servers and IMC endpoints, controlling whether SSH is enabled, the listener port, and the idle session timeout.

Location in Intersight GUI: Policies » SSH

Diagram

policies (compute.intersight.organizations)

Section titled “policies (compute.intersight.organizations)”
NameTypeConstraintMandatoryDefault Value
sshList[ssh]No

ssh (compute.intersight.organizations.policies)

Section titled “ssh (compute.intersight.organizations.policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringNo
managedBooleantrue, falseNotrue
tagsList[tags]No
enabledBooleantrue, falseNotrue
portIntegermin: 1, max: 65535No22
timeoutIntegermin: 60, max: 10800No1800

tags (compute.intersight.organizations.policies.ssh)

Section titled “tags (compute.intersight.organizations.policies.ssh)”
NameTypeConstraintMandatoryDefault Value
keyStringYes
valueStringYes

Example-1: Configure an SSH policy with default settings and environment tags.

compute:
intersight:
organizations:
- name: MyOrg
policies:
ssh:
- name: MySshPolicy
enabled: true
port: 22
timeout: 1800
tags:
- key: env
value: prod

Example-2: Disable SSH access on a policy for locked-down servers.

compute:
intersight:
organizations:
- name: MyOrg
policies:
ssh:
- name: MySshDisabledPolicy
enabled: false

Example-3: Configure SSH on a non-standard port with a shorter idle timeout.

compute:
intersight:
organizations:
- name: MyOrg
policies:
ssh:
- name: MySshCustomPolicy
enabled: true
port: 2222
timeout: 300