Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/09/2024 08:57 AM
Hi all,
When setting up a sftp connection for file-transfer, do we enter the header/footer from the .key SSH private key file? Or just the actual key string?
Thanks.
Solved! Go to Solution.
08/09/2024 12:56 PM
When setting up an SFTP connection for file transfer using an SSH private key, you need to include the entire contents of the .key file, including the header and footer. The header and footer are essential parts of the SSH private key and are required for the key to be correctly recognized and used for authentication.
Here’s what a typical SSH private key looks like:
-----BEGIN OPENSSH PRIVATE KEY-----
<Your actual key string>
-----END OPENSSH PRIVATE KEY-----
Make sure to:
Leaving out the header/footer or modifying the key string can result in authentication failures when attempting to establish the SFTP connection.