forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-all-usage-instance-ssh-remove-key-usage.golden
More file actions
26 lines (22 loc) · 1.18 KB
/
test-all-usage-instance-ssh-remove-key-usage.golden
File metadata and controls
26 lines (22 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Key will be remove from server's tags and removed from root user on next restart.
Keys are identified by their comment as in openssh format.
Lookup /root/.ssh/authorized_keys on your server for more information
USAGE:
scw instance ssh remove-key [arg=value ...]
ARGS:
server-id Server to add your key to
identifier (one of):
[name] Name of the key you want to remove, has to be the key comment or the index
[public-key] Public key you want to remove
[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 | it-mil-1)
FLAGS:
-h, --help help for remove-key
--list-sub-commands List all subcommands
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current resource