Skip to content

rspm import ssh-key#

Command to import SSH keys

rspm import ssh-key [flags]


  rspm import ssh-key --name=[key name] --path=[/path/to/key]
  rspm import ssh-key --name=[key name] --path=[/path/to/key] --passphrase-path=[/path/to/file]


  -h, --help                     help for ssh-key
      --name string              The name of the SSH key used in PPM git builder jobs.
      --passphrase-path string   Optional. The path to a file containing the SSH key passphrase. The text in this file may be in plaintext, or it may be encrypted text from the 'rspm encrypt' command.
      --path string              The path to the SSH key file
      --succeed-on-existing      Do not return an error if the SSH key already exists.

Options inherited from parent commands#

  -c, --config string          Path to config file
  -o, --output-format string   Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                Provide additional output