Importing OpenSSH config
Import
sshnav import ssh-config
sshnav import ssh-config --from ~/.ssh/work-config
migrate is retained as an equivalent migration-oriented command:
sshnav migrate --from ~/.ssh/config
The importer reads ordinary directives inside Host blocks, imports concrete host patterns, applies matching wildcard/default blocks in OpenSSH order, and preserves supported unknown directives as raw options.
Wildcard-only records are not inventory hosts. Negated patterns are respected when determining whether a default block applies.
When an imported host references an identity file, sshnav asks before copying it into encrypted storage.
Generate an include
sshnav generate
sshnav generate --install-include
The first command writes the managed file. The second offers to install the corresponding Include line into your OpenSSH config. Add --yes for non-interactive confirmation.
Generated OpenSSH config is disposable output. Edit hosts in sshnav, then regenerate it.