Skip to content
Snippets Groups Projects
Commit 8f48c0c0 authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve ssh config definition

parent f9065c9f
Branches
No related tags found
No related merge requests found
tunnel_user_name: 'systunnel'
# See all parameters at http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config # See all parameters at http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config
StrictHostKeyChecking no StrictHostKeyChecking no
ForwardAgent yes ForwardAgent no
{% for host in commonauth_extras|default([]) %} {% for host in commonauth_extras|default([]) %}
{% if host.certfile is defined %} {% if host.ssh is defined %}
{% for name in host.names %} {% for name in host.names %}
Host {{ name }} Host {{ name }}
IdentityFile ~/.ssh/{{ host.certfile }} {% for key, value in host.ssh.iteritems() %}
{{ key }} {{ value }}
{% endfor %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment