Skip to content

rspm import ssh-key#

Command to import SSH keys

rspm import ssh-key [flags]

Examples#

  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]

Options#

  -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#

  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -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