smart_ide/projects/ssh-config.example
Nicolas Cantu b21ac2cf64 feat: anythingllm-devtools service, builazoo project, ssh-config example, docs
- Add services/anythingllm-devtools HTTP API (repos + AnythingLLM + RAG)
- Rename gitea-issues to git-issues across smart_ide agents and docs
- Add projects/builazoo, builazoo README, cron fragment, ssh-config.example
- Add ensure-ia-dev-project-link.sh; wrapper delegates smart_ide id
- Bump ia_dev submodule (git-issues rename, project symlinks)
- Align 4nkaiignore templates; update API index and project docs
2026-04-03 19:06:19 +02:00

76 lines
2.0 KiB
Plaintext

# Exemple de configuration client OpenSSH (~/.ssh/config).
# Copier vers ~/.ssh/config ou inclure avec : Include /chemin/vers/smart_ide/projects/ssh-config.local
# (ne pas versionner de fichier contenant des données personnelles non nécessaires).
#
# Alignement avec le dépôt :
# - projects/<id>/conf.json → smart_ide.remote_data_access.environments.*.ssh_host_alias
# - projects/active-project.json.example → alias <name>-test | <name>-pprod | <name>-prod
#
# Remplacer <SSH_USER>, <LAN_IP_*>, <forge_host>, <key_file> selon le poste.
# Bastion optionnel par Host : ProxyJump <SSH_USER>@<bastion_host>
Host git.<forge_host>
HostName git.<forge_host>
User git
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
# smart_ide — projects/*/conf.json → ssh_host_alias
# HostName : mapping LAN type ia_dev/deploy/_lib/env-map.sh (test/pprod/prod → .101/.102/.103) si applicable.
Host test
HostName <LAN_IP_TEST>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host pprod
HostName <LAN_IP_PPROD>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host prod
HostName <LAN_IP_PROD>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host smart-ide-test
HostName <LAN_IP_TEST>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host smart-ide-pprod
HostName <LAN_IP_PPROD>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host smart-ide-prod
HostName <LAN_IP_PROD>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host builazoo-test
HostName <LAN_IP_TEST>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host builazoo-pprod
HostName <LAN_IP_PPROD>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
Host builazoo-prod
HostName <LAN_IP_PROD>
User <SSH_USER>
IdentityFile ~/.ssh/<key_file>
IdentitiesOnly yes
# Autres ids : dupliquer le trio <id>-test / <id>-pprod / <id>-prod comme dans projects/<id>/conf.json.