Skip to content
Snippets Groups Projects
Commit 91fca422 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add IP as hostname for proxy mode

parent 507a7118
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,9 @@ Host {{ hostname }}{% for alias in host.aliases|default([]) %} {{ alias }}{% end
{% endfor %}
{% endif %}
{% if host.proxy is defined %}
{% if host.ip is defined %}
Hostname {{ host.ip }}
{% endif %}
ForwardAgent yes
ProxyCommand /usr/bin/ssh {{ host.proxy }} /bin/nc %h %p
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment