# Shared deploy libraries (ia_dev) ## `ssh.sh` Canonical SSH/SCP helpers (`ssh_run`, `scp_copy`, `require_ssh_key`, `ssh_common_opts`) used across projects. **LeCoffre** : `deploy/scripts_v2/_lib/ssh.sh` sources `ia_dev/deploy/lib/ssh.sh` when the submodule path `ia_dev/deploy/lib/ssh.sh` exists from the repo root; otherwise it embeds the same implementation. ## `deploy-log.sh` Optional `deploy_script_tee_log_if_requested ` — requires `info` from the project’s `colors.sh` (sourced before this file in `deploy.sh`). ## Policy Project-specific logic (Prisma, systemd unit names, remote app layout, LeCoffre domains) stays under each repository’s `deploy/scripts_v2/`. Only transport/logging helpers live here.