trust-host
verbmutateShow the host key a target presents, and record it once you have checked its fingerprint.
Program anyfs-writer. Origin anyfs.
Governance: the action
What the verb is and may do, as governance says it. Each annotation is expressed by the surfaces or says why it is not.
| Property | Value |
|---|---|
kind | action |
effect | mutate |
idempotent | true |
audience | both |
tier | public |
dryRun | true |
check | false |
humanOnly | fingerprint |
reachChannels | local |
reachReadOnly | false |
reachNeedsTty | false |
reachRunsAs | caller |
reachConfirmation | person |
Operands
| Operand | Meaning |
|---|---|
TARGET | The id of the target. |
Options
| Option | Meaning | Properties |
|---|---|---|
--fingerprint | The fingerprint you checked by another way (SHA256:...): the host is recorded only if it showed it. | type=value, required=false, standard=false, humanOnly=true, valueName=VALUE |
--json | Write one JSON document and nothing else for a person. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--quiet | Show only how it ended. | type=flag, short=q, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--verbose | Show every step as it happens. | type=flag, short=v, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--color | Use colour where the terminal shows it (--no-color turns it off). | type=flag, required=false, standard=true, humanOnly=false, negatable=true, default=true |
--non-interactive | Never ask a question: where one is needed, fail and say so. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--dry-run | Show what would change and change nothing. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
Examples
anyfs trust-host alpha # See what alpha presents.
anyfs trust-host alpha --fingerprint SHA256:... # Record alpha after checking.Physical: what it is drawn as
Not drawn by any surface for this tier.
Not drawn
- cli: trust-host cannot be shown: the tier public is not on the ladder of this program
- mcp: trust-host cannot be shown: the tier public is not on the ladder of this program
- rest: trust-host cannot be shown: the tier public is not on the ladder of this program