We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95d8a15 commit afa165cCopy full SHA for afa165c
README.md
@@ -55,6 +55,7 @@ to manage.
55
56
### SSH
57
58
+- Config file - [.ssh/config](ssh/config)
59
- [Prevent SSH Timeout](ssh/prevent-ssh-timeout.md)
60
- [Using GIT+SSH over HTTPS](https://help.github.com/en/github/authenticating-to-github/using-ssh-over-the-https-port)
61
ssh/config
@@ -0,0 +1,13 @@
1
+# Prevent session timeout
2
+ServerAliveInterval 30
3
+
4
+# Setup mac ssh keys; `UseKeychain` is only on macOS
5
+Host *
6
+ AddKeysToAgent yes
7
+ UseKeychain yes
8
+ IdentityFile ~/.ssh/id_rsa
9
10
+# Use HTTPS instead of SSH for git+ssh
11
+Host github.com
12
+ Hostname ssh.github.com
13
+ Port 443
0 commit comments