Learn how to configure and manage the SSH server and client on macOS
Adding the SSH library item to your Library
- Navigate to Library in the left-hand navigation bar.
- Select Add New in the upper right-hand corner.
- Scroll down to the Profiles section and select SSH.
- Click Add & Configure.
Configuring the SSH Library item
Configure SSH according to your organization’s security tolerances under the General section within the SSH library item. Alternatively, you can follow the guidance below to meet NIST or STIG requirements. To meet CIS L1 requirements and if the organization is not using a CIS Level 1 Blueprint, turn off SSH server availability on macOS.The /etc/ssh/ssh_config and /etc/ssh/sshd_config config files may return to their default values upon any update or major upgrade. However, the Kandji agent will automatically remediate and set the corresponding values defined in the SSH library item.
- Add a descriptive title in the Add a title field.
- Assign the SSH library item to a Blueprint in the Select Blueprint dropdown.
- Optionally, configure Assignment Rules.
- Select SSH server availability.
- Click on On.
- Select Challenge-response authentication.
- Click on On.
- Select Root login.
- Click on Off.
- Select SSH login banner.
- Click on On.
- Enter a custom Banner text per your organization’s security policy. You may also use the default text.
- Select Login attempt grace period.
- Ensure that the login attempt timeout is set to 30 seconds.
- Select Session timeout.
- Ensure that the session timeout is set to 900 seconds.
- Select Maximum alive count.
- Ensure that the alive count is set to 0 messages.
- Select Remove non-FIPS Ciphers.
- Select Remove non-FIPS Message Authentication Codes.
- Select Use secure key exchange algorithms.
- Click Save.