2

Trying to add a key, and the client sent me the key information (one long ungodly string)... but, I'm not sure how to add it into the platform. It looks like I need to 'browse' to add a file so I pasted the key value into a simple TXT file, added it to the platform, but I'm receiving an error when we try to save it.

What gives? What are we missing here?

key placement

error

7
  • It is being caused by not including a Passphrase. I know that this is optional for SSH keys, but for some reason it is not optional in SFMC. I have only had success adding in the key if I have a corresponding Passphrase attached to it. I have had multiple cases in with SFMC support and explored many different options and nothing else has worked for me. Commented Jan 14, 2020 at 21:38
  • interesting... but if the key doesn't require it (because we're on the other side of the equation), can I put in a bogus key? Commented Jan 14, 2020 at 23:17
  • 2
    The key has to be in OpenSSH format, which is an option to export in PuttyGen with Conversions -> Export OpenSSH Key Commented Jan 14, 2020 at 23:25
  • The passphrase isn't required unless you used one when creating the key. Commented Jan 14, 2020 at 23:28
  • Oh that's good to know! Sweet gonna check that out tomorrow thanks @adamspriggs Commented Jan 15, 2020 at 2:33

1 Answer 1

1

To properly create your SSH Key pairs I would suggest checking out the Knowledge Article posted in the Trailblazer Community: Error 'Object Reference Not Set to an Instance of an Object' when saving SSH key. This may help solving the issue.

As mentioned by @Adam Spriggs, PuTTY Gen provides you the possibility to export your Key in OpenSSH format. It is worth mentioning here when uploading a new Key, under Key Management, Marketing Cloud may not accept the file format generated by PuTTY Gen. It may depend on which version you are using. To avoid such errors, I would suggest exporting your file in .txt for both public and private keys.

Hope that helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .