sshproxy.yaml 751 B

123456789101112131415161718192021222324252627282930313233
  1. # Configuration sshproxy v2.1.0 — mode stateless (pas d'etcd)
  2. # Lab Docker : gateway → dest1 / dest2 en round-robin
  3. ---
  4. log: "/tmp/sshproxy-{user}.log"
  5. log_level: "debug"
  6. # Clé SSH pour le rebond gateway → dest1/dest2
  7. # -tt: force PTY allocation pour shell interactif transparent
  8. # -v: logs verbeux pour diagnostic
  9. ssh:
  10. exe: "/usr/bin/ssh"
  11. args:
  12. - "-v"
  13. - "-tt"
  14. - "-i"
  15. - "/etc/sshproxy/gateway_rsa"
  16. - "-o"
  17. - "StrictHostKeyChecking=no"
  18. - "-o"
  19. - "UserKnownHostsFile=/dev/null"
  20. # Désactive etcd explicitement
  21. etcd:
  22. endpoints: []
  23. mandatory: false
  24. dest:
  25. - "172.30.0.11:22"
  26. - "172.30.0.12:22"
  27. # Round-robin : balanced + random pour répartir à chaque connexion
  28. route_select: "random"
  29. mode: "balanced"