Help Center/ ModelArts/ Troubleshooting/ DevEnviron/ Failures to Access the Development Environment Through VS Code/ Error Message "Connection permission denied (publickey)" Is Displayed
Updated on 2025-11-18 GMT+08:00

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.