Help Center/ ModelArts/ FAQs/ Notebook (New Version)/ Failures to Access the Development Environment Through VS Code/ What Do I Do If Error Message "Load key "C:/Users/xx/test1/xxx.pem": invalid format" Is Displayed?
Updated on 2024-06-15 GMT+08:00

What Do I Do If Error Message "Load key "C:/Users/xx/test1/xxx.pem": invalid format" Is Displayed?

Symptom

Possible Cause

The content or format of the key file is incorrect.

Solution

Use the correct key file for remote access. If there is no correct key file locally or the file is damaged, perform the following operations:

  1. Log in to the console, search for DEW. On the DEW management console, choose Key Pair Service and click Private Key Pairs. Then, view and download the correct key file.

  2. If the key cannot be downloaded and the originally downloaded key was lost, create a new development environment instance and a new key file. Replacing a key file in a running development environment will be supported later.