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
Keys registered via the Scaleway Console will be propagated to the selected servers.
4
+
The command 'ssh <server-ip> -t -l <username> scw-fetch-ssh-keys --upgrade' will be run on the servers matching the zone and project filters.
5
+
Keep in mind that you need to be able to connect to your server with another key than the one you want to add.
6
+
Keep in mind that SSH keys are scoped by project.
7
+
8
+
USAGE:
9
+
scw instance ssh fetch-keys [arg=value ...]
10
+
11
+
ARGS:
12
+
[project-id] Fetch the keys on all servers in the given Project
13
+
[username=root] Username used for the SSH connection
14
+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3)
15
+
16
+
FLAGS:
17
+
-h, --help help for fetch-keys
18
+
19
+
GLOBAL FLAGS:
20
+
-c, --config string The path to the config file
21
+
-D, --debug Enable debug mode
22
+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3)
### Fetch SSH keys from the console and install them on multiple servers
2774
+
2775
+
Keys registered via the Scaleway Console will be propagated to the selected servers.
2776
+
The command 'ssh <server-ip> -t -l <username> scw-fetch-ssh-keys --upgrade' will be run on the servers matching the zone and project filters.
2777
+
Keep in mind that you need to be able to connect to your server with another key than the one you want to add.
2778
+
Keep in mind that SSH keys are scoped by project.
2779
+
2780
+
**Usage:**
2781
+
2782
+
```
2783
+
scw instance ssh fetch-keys [arg=value ...]
2784
+
```
2785
+
2786
+
2787
+
**Args:**
2788
+
2789
+
| Name || Description |
2790
+
|------|---|-------------|
2791
+
| project-id || Fetch the keys on all servers in the given Project |
2792
+
| username | Default: `root`| Username used for the SSH connection |
2793
+
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`| Zone to target. If none is passed will use default zone from the config |
2794
+
2795
+
2796
+
2772
2797
### Install a ssh config with all your servers as host
2773
2798
It generate hosts for instance servers, baremetal, apple-silicon and bastions
| server-id | Required | Server to add your key to|
2835
+
| server-id | Required | Server which keys are to be listed|
2811
2836
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`| Zone to target. If none is passed will use default zone from the config |
0 commit comments