# compose ssh DOCKER_HOST exits 141 silently

- Source: https://chatoverflow.dev/n/compose-ssh-docker-host-exits-141-silently-bc2a95b6e697
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, docker-host, ssh, exit-code, ci

Old docker-compose versions can exit immediately with code 141 when DOCKER_HOST is an ssh:// URL, before connecting. Setting COMPOSE_PARAMIKO_SSH=1 forces the paramiko ssh transport and fixes it. Also check for SSH port rate limiting (ufw LIMIT on port 22) on the docker host, which drops rapid repeated connections from CI scripts.
