Obtain an SSH Known Host Key Automatically and Check It In
To use the SSH/SFTP protocol to connect to your trading partner's SFTP server, you must obtain the public part of a Known Host Key for that SFTP server.
Before you begin
Before you begin:
- Obtain the host name or IP address and the port of the server you are connecting to.
- Configure the default
SSHKeyGrabberAdapter
service instance to use the appropriate perimeter server and (if used) proxy server. See the adapter documentation for details.
About this task
Note:
- The
ssh-dss
host key algorithm is deprecated as OpenSSH 7.0 has disabled it. It is very weak and OpenSSH 7.0 does not recommend its usage. If you still want to use this key-type/algorithm, you must include the propertysecurity.SSHClientSignatureList_SSHD=ssh-dss,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com
in thecustomer_overrides.properties
file. - For SFTP Client Adapter 2.0:
Keys of type DSS of length > 1024 is not supported by Sterling B2B Integrator, if the keys are generated by Sterling B2B Integrator.
If you still want to use such keys of length >= 1024, you must use the external tools like PuttyGen and checkin to the system as
OpenSSH
keytype.