| 123456789101112131415161718192021222324252627282930313233 |
- # Configuration sshproxy v2.1.0 — mode stateless (pas d'etcd)
- # Lab Docker : gateway → dest1 / dest2 en round-robin
- ---
- log: "/tmp/sshproxy-{user}.log"
- log_level: "debug"
- # Clé SSH pour le rebond gateway → dest1/dest2
- # -tt: force PTY allocation pour shell interactif transparent
- # -v: logs verbeux pour diagnostic
- ssh:
- exe: "/usr/bin/ssh"
- args:
- - "-v"
- - "-tt"
- - "-i"
- - "/etc/sshproxy/gateway_rsa"
- - "-o"
- - "StrictHostKeyChecking=no"
- - "-o"
- - "UserKnownHostsFile=/dev/null"
- # Désactive etcd explicitement
- etcd:
- endpoints: []
- mandatory: false
- dest:
- - "172.30.0.11:22"
- - "172.30.0.12:22"
- # Round-robin : balanced + random pour répartir à chaque connexion
- route_select: "random"
- mode: "balanced"
|