nodus create sshkey
View Markdownnodus create sshkey
Section titled “nodus create sshkey”Add an SSH public key, or generate a key pair and add it
nodus create sshkey [NAME] [flags]Examples
Section titled “Examples” nodus create sshkey laptop --from-file ~/.ssh/id_ed25519.pub nodus create sshkey --generateOptions
Section titled “Options” --display-name string A label for the console --dry-run string[="server"] server returns the estimate without creating; client prints the manifest (default "none") --from-file string OpenSSH public key file to add, or - for standard input --generate Create a new Ed25519 key pair here and add its public key -h, --help help for sshkey --key-file string With --generate: where to write the private key (the public key goes next to it, with .pub) (default "~/.ssh/id_ed25519") -o, --output string Output format: name, json, yaml, or estimate (with --dry-run=server)Options inherited from parent commands
Section titled “Options inherited from parent commands” --context string Context from the config file to use --org string Organization (selects the context for that org) -p, --project string Project to work in -v, --verbose Log each API request (never credentials)SEE ALSO
Section titled “SEE ALSO”- nodus create - Create resources from manifests or with a typed generator
Tested examples
Section titled “Tested examples”These invocations run in CI against the CLI’s fake API.
nodus create sshkey laptop --from-file laptop.pubnodus create sshkey fresh --generate --key-file id_fresh