You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/instances/troubleshooting/fix-common-issues.mdx
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ This page lists the most common issues you may encounter with your Scaleway Inst
84
84
- Wrong username: Using `root` versus a custom user.
85
85
- Misconfiguration of the SSH daemon: `sshd_config` might disallow key-based authentication.
86
86
- Key not installed: The public key might not have been successfully added to the Instance.
87
+
- No access to Scaleway's api-metadata : Api-metadata is responsible for loading the SSH keys.
87
88
88
89
### Solution
89
90
- Check file permissions locally:
@@ -100,6 +101,16 @@ This page lists the most common issues you may encounter with your Scaleway Inst
100
101
- Re-add your SSH Key in the Scaleway console:
101
102
- Go to the [SSH keys](https://console.scaleway.com/project/ssh-keys) tab in the **Project** section of theScaleway console, remove the old SSH key, then add your new, correct public key.
102
103
- Restart your Instance to re-upload the list of allowed SSH keys.
104
+
- Confirm that your instance has access to the api-metadata by using the serial console
105
+
- Execute the following :
106
+
```bash
107
+
# curl http://169.254.42.42/
108
+
```
109
+
The response should be
110
+
```json
111
+
{"api": "api-metadata", "description": "Metadata API, just query http://169.254.42.42/conf or http://169.254.42.42/conf?format=json to get info about yourself", "version": "12.23.0"}
112
+
```
113
+
Otherwise you need to identify why the access to api-metadata is blocked somehow.
103
114
104
115
### Additional resources
105
116
-[Scaleway Documentation: How to generate an SSH key pair](/organizations-and-projects/how-to/create-ssh-key/)
@@ -287,4 +298,4 @@ This page lists the most common issues you may encounter with your Scaleway Inst
287
298
## Next steps
288
299
289
300
- Always consult the official [Scaleway Instances Documentation](/instances/) for detailed, up-to-date information to troubleshoot your Instance.
290
-
- If you are still experiencing issues after following these tips, open a [support ticket](https://console.scaleway.com/support) in your Scaleway console, providing detailed descriptions of your issue, logs, screenshots, or error messages. This will help the Support team diagnose and resolve your issue more quickly.
301
+
- If you are still experiencing issues after following these tips, open a [support ticket](https://console.scaleway.com/support) in your Scaleway console, providing detailed descriptions of your issue, logs, screenshots, or error messages. This will help the Support team diagnose and resolve your issue more quickly.
0 commit comments