This is the multi-page printable view of this section. Click here to print.
Compute Sshkeys
1 - pcloud compute sshkeys
SSH Keys management commands
Synopsis
SSH Keys management commands. Possibility to create, list, describe, update, delete SSH Key(s). One SSH Key can be associated to a VM Instance at VM instance creation time.
Options
-h, --help help for sshkeys
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute - pcloud compute
- pcloud compute sshkeys create - Create a SSH Key
- pcloud compute sshkeys delete - Delete SSH Keys
- pcloud compute sshkeys describe - Describe SSH Key
- pcloud compute sshkeys list - List SSH Keys
- pcloud compute sshkeys update - Update a SSH Key
2 - pcloud compute sshkeys create
Create a SSH Key
Synopsis
Create a SSH Key. SSH Key can be created without SSH public key, which can be added later on.
pcloud compute sshkeys create <SSHKeyName> [flags]
Options
-h, --help help for create
-p, --publickey string SSH public key
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute sshkeys - SSH Keys management commands
3 - pcloud compute sshkeys delete
Delete SSH Keys
Synopsis
Delete SSH Keys. Several SSH Keys can be deleted at the same time.
pcloud compute sshkeys delete <SSHKeyName> [<SSHKeyName> ...] [flags]
Options
-h, --help help for delete
-q, --quiet Quiet deletion (no confirmation is required)
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute sshkeys - SSH Keys management commands
4 - pcloud compute sshkeys describe
Describe SSH Key
Synopsis
Describe SSH Key with details. Output format depends on –format option.
pcloud compute sshkeys describe <SSHKeyName> [flags]
Options
-h, --help help for describe
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute sshkeys - SSH Keys management commands
5 - pcloud compute sshkeys list
List SSH Keys
Synopsis
List SSH Keys with details. Output format depends on –format option.
pcloud compute sshkeys list [flags]
Options
-h, --help help for list
-l, --long Print detailed info of each SSHKey
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute sshkeys - SSH Keys management commands
6 - pcloud compute sshkeys update
Update a SSH Key
Synopsis
Update a SSH Key’s name or public key.
pcloud compute sshkeys update <SSHKeyName> [flags]
Options
-h, --help help for update
-k, --keyname string new SSH Key Name
-p, --publickey string New SSH public key
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute sshkeys - SSH Keys management commands