Generate a New SSH Host Identity Key

You can generate a new SSH Host Identity Key.

About this task

To generate a new SSH Host Identity Key:

Procedure

  1. Select Deployment > SSH Host Identity Key.
  2. Next to Create new SSH Host Identity Key, click Go!
  3. Type a Host Name, using no spaces or special characters.
  4. Select the Key Type as either ssh-rsa or ssh-ed25519.
    Note: When you switch to defaultSFTP=2.0 in the sftp.properties file, the system supports only the RSA key algorithm. The ssh-dss host key algorithm is not supported since it is legacy and weak.

    If you want to generate keys using ssh-dss key-type, then you must include the property sftp.defaultSFTP=1.0 in the customer_overrides.properties file.

    If you want to use ssh-dss algorithm, you can generate it using an external tool and check-in (For more information, see Check in an SSH Host Identity Key) the key into Sterling B2B Integrator and use it.

    Important: The key type ssh-ed25519 is only available for SFTP 2.0 from Sterling B2B Integrator v6.2.0.1 onwards.
  5. For ssh-rsa, select the Key Length from the following options:
    • 768
    • 1024
    • 1536
    • 2048
    Note: The longer the key length, the more secure the key.
    For ssh-ed25519, select the Key Length as 256.
  6. Type any Key Comments associated with this key. Comments are not required.
  7. Click Next.
  8. Confirm your entries and click Finish.
    Note: You do not need to check in keys generated from within Sterling B2B Integrator.