Files
mesh-catalog/modules/ssh-client/module.json
T
mesh-tools ae9cda8531
mesh/merge-gate head ae9cda8531b3 merged into trunk 017b729bc95d — pass: builds gitea, ssh-client → ace, g14, novox, shanks; no bus step; every machine com…
mesh/repo-check head ae9cda8531b3 merged into trunk 017b729bc95d — pass: its merge-check.sh passed, each part in its toolchain: merge-check.sh (go), merge-…
mesh/delivery covered after its failure: a later walk that contains it was delivered: plan-1792195559895153198 (novox/mesh-catalog at 82df3bd5 into main,…
mesh/delivery-group group feat/agents-write-git-ssh delivered: every member is delivered
Hand ssh-client's forge files to the provisioner client (issue 955)
2026-10-16 22:05:52 +00:00

118 lines
2.9 KiB
JSON

{
"module": "ssh-client",
"version": "1",
"moved": true,
"tools": [
"ssh_client_hosts",
"ssh_client_resolve",
"ssh_client_check",
"ssh_client_keys",
"ssh_client_authorized",
"ssh_client_revoke",
"ssh_client_known_host",
"ssh_client_test"
],
"requires": [
"forge-account"
],
"state": [
"keys"
],
"data": {
"own": [
{
"id": "ssh",
"path": "${dir:ssh-dir}",
"class": "valuable",
"why": "the operator's keys and known hosts"
}
]
},
"resources": [
{
"id": "ssh-dir",
"type": "directory",
"path": "${machine:account-home}/.ssh",
"owner": "${machine:account}",
"mode": "0700"
},
{
"id": "config-d",
"type": "directory",
"path": "${machine:account-home}/.ssh/config.d",
"owner": "${machine:account}",
"mode": "0700"
},
{
"id": "config",
"type": "file",
"path": "${machine:account-home}/.ssh/config",
"owner": "${machine:account}",
"mode": "0600",
"into": "block",
"at": "start",
"template": "files/config"
},
{
"id": "known-hosts",
"type": "file",
"path": "${machine:account-home}/.ssh/known_hosts",
"owner": "${machine:account}",
"mode": "0644",
"into": "block",
"template": "files/known_hosts"
},
{
"id": "forge-host",
"type": "file",
"path": "${machine:account-home}/.ssh/config.d/10-forge",
"owner": "${machine:account}",
"mode": "0600",
"template": "files/forge"
},
{
"id": "git-config-dir",
"type": "directory",
"path": "${machine:account-home}/.config/git",
"owner": "${machine:account}",
"mode": "0755"
},
{
"id": "git-config",
"type": "file",
"path": "${machine:account-home}/.config/git/config",
"owner": "${machine:account}",
"mode": "0644",
"into": "block",
"template": "files/gitconfig"
}
],
"facts": {
"mesh-hosts": {
"path": ".ssh/config.d/00-mesh",
"home": true,
"template": "# Generated by the mesh. Do not edit — module ssh-client writes this file whenever a machine\n# joins, leaves or is renamed. ~/.ssh/config includes it first, so these hosts win over every\n# later line; a host of your own goes below the mesh's region in ~/.ssh/config.\n{{range .Machines}}{{if ne .Name $.Node}}\nHost {{.Name}} {{.FQDN}}\n HostName {{.FQDN}}\n{{if .Account}} User {{.Account}}\n{{end}}{{end}}{{end}}"
}
},
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/ssh-client-tools",
"binary": "ssh-client-tools",
"loads": [
"ssh-client-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}