summaryrefslogtreecommitdiff
path: root/roles/tools/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/tools/templates')
-rw-r--r--roles/tools/templates/ssh_config.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/tools/templates/ssh_config.j2 b/roles/tools/templates/ssh_config.j2
new file mode 100644
index 0000000..63cfe81
--- /dev/null
+++ b/roles/tools/templates/ssh_config.j2
@@ -0,0 +1,13 @@
1Host *
2CheckHostIP no
3{% if "graphical_vt" not in features.get(profile, []) %}
4ProxyCommand sh -c 'gpg-connect-agent updatestartuptty /bye >/dev/null && nc "$0" "$1"' %h %p
5{% endif %}
6
7Host gitolite
8HostName git.immae.eu
9User gitolite
10
11Host immae.eu
12HostName immae.eu
13User immae