Skip to main content
Version: v5

ionic ssh generate

Generates a private and public SSH key pair

ionic ssh generate [options]

Inputs

key-path

Description

Destination of private key file

Advanced Options

--type =<type>

Description

The type of key to generate: ecdsa, ed25519, rsa

Aliases-t
Defaultrsa

--bits =<bits>

Description

Number of bits in the key

Aliases-b
Default2048

--annotation =<annotation>

Description

Annotation (comment) in public key. Your Ionic email address will be used

Aliases-C