nf ssh
The nf ssh command manages SSH public keys for node access.
Public keys added through this command are deployed to all nodes managed by NodeFoundry, giving you direct SSH access to the bare-metal machines for debugging and maintenance.
Usage
$ nf ssh list $ nf ssh add --name <label> --key <public-key>
Commands
nf ssh list
nf ssh listList all registered SSH public keys.
| Flag | Description |
|---|---|
--json | Output results as JSON |
nf ssh add
nf ssh addAdd a new SSH public key. The key will be deployed to all managed nodes.
| Flag | Description |
|---|---|
--name | Key name / label (required) |
--key | Public key content (required) |
Examples
$ nf ssh add --name "work laptop" --key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH..." SSH key added
$ nf ssh list