updated ssh state
This commit is contained in:
parent
520fe3352b
commit
4e95093f8e
@ -15,7 +15,7 @@ ssh:
|
|||||||
AllowGroups: admin
|
AllowGroups: admin
|
||||||
X11Forwarding: 'yes'
|
X11Forwarding: 'yes'
|
||||||
ssh_config:
|
ssh_config:
|
||||||
ForwardAgent: 'yes'
|
'*':
|
||||||
ServerAliveInterval: 120
|
ServerAliveInterval: 120
|
||||||
TCPKeepAlive: 'yes'
|
TCPKeepAlive: 'yes'
|
||||||
AddKeysToAgent: 'yes'
|
AddKeysToAgent: 'yes'
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
{%- from "ssh/map.jinja" import ssh with context %}
|
{%- from "ssh/map.jinja" import ssh with context %}
|
||||||
|
|
||||||
{%- for key, value in ssh.ssh_config.items() %}
|
{%- for match, values in ssh.ssh_config.items() %}
|
||||||
{{ key }} {{ value }}
|
Host {{ match }}
|
||||||
|
{%- for param_key, param_value in values.items() %}
|
||||||
|
{{ param_key }} {{ param_value }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user