Notebook Access Is Normal on ModelArts but Error "Permission denied (publickey)" Is Displayed When SSH/VS Code Is Used to Access a Notebook Instance
Symptom
The notebook instance can be accessed on the ModelArts console, but an error is reported when the notebook instance is accessed using SSH/VS Code.
Permission denied (publickey)
Possible Causes
Run passwd -S ma-user.
- If L is displayed in the result, the user is locked. Run passwd to unlock the user.
- If P is displayed in the result, the user status is normal. In this case, check other possible causes.
Figure 3 Unlocking a user
Solution
Open Terminal in the notebook instance. Run the following passwd commands to unlock the user:
passwd -S ma-user passwd ma-user Enter the password. passwd -S ma-user
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