Skip to main content
Version: v6

ionic ssh generate

Generates a private and public SSH key pair

$ ionic ssh generate [key-path] [options]


Destination of private key file

Advanced Options

  • --type=<type>: The type of key to generate: ecdsa, ed25519, rsa (or -t)
  • --bits=<bits>: Number of bits in the key (or -b)
  • --annotation=<annotation>: Annotation (comment) in public key. Your Ionic email address will be used (or -C)