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