Skip to main content

Add an SSH public key to the server authorized keys

cloudcli server sshkey

Add an SSH public key to the server authorized keys

Synopsis

Add an SSH public key to the server authorized keys

cloudcli server sshkey [flags]

Options

  -h, --help                help for sshkey
--id string Specific server UUID
--name string Server name or regular expression matching a single server
--password string The server SSH password.
--public-key string Path to the public key file

Options inherited from parent commands

      --api-clientid string   API Client ID
--api-secret string API Secret
--config string config file (default is $HOME/.cloudcli.yaml)
--debug enable debug output to stderr
--dryrun enable dry run mode, does not perform actions
--format string output format, default format is a human readable summary
--no-config disable loading from config file