浏览代码

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

Fix SSH connections to Github
Justin Plock 8 年前
父节点
当前提交
71b3d8b6a3
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      roles/common/templates/etc_ssh_ssh_config.j2

+ 5
- 0
roles/common/templates/etc_ssh_ssh_config.j2 查看文件

@@ -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_*

正在加载...
取消
保存