Browse Source

Merge pull request #575 from tomasbedrich/fix-github-ssh

Fix SSH connections to Github
Justin Plock 8 years ago
parent
commit
71b3d8b6a3
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      roles/common/templates/etc_ssh_ssh_config.j2

+ 5
- 0
roles/common/templates/etc_ssh_ssh_config.j2 View File

@@ -1,3 +1,8 @@
1
+# Github needs diffie-hellman-group-exchange-sha1 some of the time but not always.
2
+Host github.com
3
+    KexAlgorithms {{ kex_algorithms }},diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
4
+
5
+Host *
1 6
     Ciphers {{ ciphers }}
2 7
     KexAlgorithms {{ kex_algorithms }}
3 8
     SendEnv LANG LC_*

Loading…
Cancel
Save