Loading

Data 360: How to Create SSH key to establish SFTP Setup and create SFTP data stream.

Publiseringsdato: Dec 5, 2025
Beskrivelse

Step-by-step process on how to create and configure an SSH key to use with SFTP Setup and Data stream in the Data 360 (formerly Data Cloud) using ssh-keygen

Løsning

Creating an SSH Key and Configuring an SFTP Setup and Create SFTP Data stream in Data 360

Use these steps to create a new SSH key pair.

To Create an SSH Key Pair Using the Command Line

1. Create a key:
   ssh-keygen -m PEM -t rsa -b 4096
2. Enter a filename:
   - Example: originalfilename
3. Change the key to an RFC4716 (SSH2) key format:
   ssh-keygen -e -f originalfilename.pub > newfilename

 

To Create an SSH Key Pair Using the Mac Terminal

1. Create a key:
   ssh-keygen -m PEM -t rsa -b 4096
2. Enter a filename:
   - Example:originalfilename
3. Change the key to an RFC4716 (SSH2) key format:
   ssh-keygen -e -f originalfilename.pub > newfilename

To Create an SSH Key Using PuTTYgen

1. Open PuTTY Key Generator.
2. Under the menu Key, select SSH-2 RSA.
3. In the main screen (lower right), enter Number of bits in a generated key: `2048`.
4. Click Generate.
5. After the key has been generated, click "Conversions" from the top menu bar and select "Export OpenSSH Key".
6. Save this as a `.ppk` format. This will be the private key.
7. Then save the public key by clicking **Save public key** in `.pub` format.

To Verify and Update the SSH Public Key to Required Formatting

1. Open `newfilename.pub` with a text editor.
2. To upload successfully, it should reflect the following format and be a `.txt` file:
   -----BEGIN OPENSSH PRIVATE KEY-----
   KEYSTRING
   -----END OPENSSH PRIVATE KEY-----
3. Remove any additional leading or trailing text that is not part of the key. Add the header and footer as shown.

To Upload the Key within Data 360

1. Navigate to Setup> Data 360 Setup.
2. Click on Other Connectors > New > Secure File Transfer (SFTP).
3. Click Next.
4. Fill in all the required details.
5. Select "SSH Private Key".
6. Click "Test Connection".
7. Click  "Save".

Note: OpenSSH based key in SshEd25519PrivateKeyJCE format is currently not supported.

Create a Data Stream Using SFTP File

1. Navigate to Data Stream > New > SFTP > Next.
2. Choose the name of the Connection > Import from Directory > File Name.
3. Select the Category > Next.
4. Select Refresh Mode > Schedule > Choose the checkbox.
5. Click Deploy.

Knowledge-artikkelnummer

002722669

 
Laster
Salesforce Help | Article