Generate a New SSH Host Identity Key
You can generate a new SSH Host Identity Key.
About this task
Procedure
- Select Deployment > SSH Host Identity Key.
- Next to Create new SSH Host Identity Key, click Go!
- Type a Host Name, using no spaces or special characters.
-
Select the Key Type as either ssh-rsa or
ssh-ed25519.
Note: When you switch to
defaultSFTP=2.0
in thesftp.properties
file, the system supports only theRSA
key algorithm. Thessh-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 propertysftp.defaultSFTP=1.0
in thecustomer_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. -
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. - Type any Key Comments associated with this key. Comments are not required.
- Click Next.
- Confirm your entries and click Finish.
Note: You do not need to check in keys generated from within Sterling B2B Integrator.