Configure the SSH Library Item

By Salur Onural

Learn how to configure and manage the SSH server and client on macOS

Adding the SSH library item to your Library

  1. Navigate to Library in the left-hand navigation bar.
  2. Select Add New in the upper right-hand corner.
  3. Scroll down to the Profiles section and select SSH.
  4. 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.
  1. Add a descriptive title in the Add a title field.
  2. Assign the SSH library item to a Blueprint in the Select Blueprint dropdown.
  3. Optionally, configure Assignment Rules.
  4. Select SSH server availability.
    • Click on On.
  5. Select Challenge-response authentication.
    • Click on On.
  6. Select Root login.
    • Click on Off.
  7. 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.
  8. Select Login attempt grace period.
    • Ensure that the login attempt timeout is set to 30 seconds.
  9. Select Session timeout.
    • Ensure that the session timeout is set to 900 seconds.
  10. Select Maximum alive count.
    • Ensure that the alive count is set to 0 messages.
  11. Select Remove non-FIPS Ciphers.
  12. Select Remove non-FIPS Message Authentication Codes.
  13. Select Use secure key exchange algorithms.
  14. Click Save.