Place the forge's known host, SSH Host and git rewrite (issue 955 S3)

This commit is contained in:
fix-955-ssh
2026-10-16 22:43:51 +02:00
parent a4cdd05cb2
commit ad5a0f8e44
5 changed files with 128 additions and 0 deletions
+33
View File
@@ -51,6 +51,39 @@
"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": {