Get started

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

Terminal
$ nf ssh list
$ nf ssh add --name <label> --key <public-key>

Commands

nf ssh list
nf ssh list

List all registered SSH public keys.

FlagDescription
--jsonOutput results as JSON
nf ssh add
nf ssh add

Add a new SSH public key. The key will be deployed to all managed nodes.

FlagDescription
--nameKey name / label (required)
--keyPublic key content (required)

Examples

Terminal
$ nf ssh add --name "work laptop" --key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH..."
SSH key added
Terminal
$ nf ssh list