Error Message "Connection permission denied (publickey)" Is Displayed
Symptom
Error message "Connection permission denied (publickey)" is displayed when VS Code is connecting to a development environment. Please make sure the key file is correctly selected and the file permission is correct. You can view the instance keypair information on ModelArts console."

Possible Causes
The permission on the key file or the folder where the key is stored is incorrect, or the key is incorrect.
Solution
Refer to the following documents to rectify the fault:
- Error "Bad permissions/Permission denied (publickey)" Is Displayed When a Notebook Instance Is Connected Using SSH
- Notebook Access Is Normal on ModelArts but Error "Permission denied (publickey)" Is Displayed When SSH/VS Code Is Used to Access a Notebook Instance
- SSH Cannot Be Used and the Error "Permission denied (publickey)" Is Displayed After the Permission on the /home/ma-user/.ssh Directory Is Changed
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot