Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
To repozytorium jest zarchiwizowane. Możesz wyświetlać pliki i je sklonować, ale nie możesz do niego przepychać zmian lub otwierać zgłoszeń/Pull Requestów.

ssh.config.j2 607B

4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
123456789101112
  1. {% for hostname in groups.all %}
  2. Host {{hostname}}
  3. {% if ssh_over_tor and ('ansible_local' in hostvars[hostname]) and ('tor' in hostvars[hostname].ansible_local) and ('ssh' in hostvars[hostname].ansible_local.tor.tor_hidden_services_hostnames) %}
  4. HostName {{hostvars[hostname].ansible_local.tor.tor_hidden_services_hostnames.ssh}}
  5. ProxyCommand nc -x 127.0.0.1:9050 -X5 %h %p
  6. {% elif 'external_ip' in hostvars[hostname] %}
  7. HostName {{hostvars[hostname].external_ip}}
  8. {% endif %}
  9. {% if 'ssh_proxy_jump' in hostvars[hostname] %}
  10. ProxyJump {{hostvars[hostname].ssh_proxy_jump}}
  11. {% endif %}
  12. {% endfor %}