-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
ssh_config
42 lines (42 loc) · 1.21 KB
/
ssh_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# https://github.com/drduh/config/blob/master/ssh_config
# https://linux.die.net/man/5/ssh_config
#Host router
# IdentityFile ~/.ssh/router
# HostName 192.168.1.1
# Port 2222
# User sysadm
# ControlMaster auto
# ControlPath ~/.ssh/master-%r@%h:%p
# ControlPersist 300
Host gitlab.com
User git
ControlMaster no
IdentitiesOnly yes
IdentityFile ~/.ssh/gitlab
Host github.com
User git
ControlMaster no
IdentitiesOnly yes
IdentityFile ~/.ssh/github
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com
Host *
#ControlMaster auto
#ControlPath ~/.ssh/master-%r@%h:%p
#ControlPersist 300
#AddKeysToAgent yes
AddressFamily inet
HashKnownHosts yes
VisualHostKey yes
PasswordAuthentication no
ChallengeResponseAuthentication no
StrictHostKeyChecking ask
VerifyHostKeyDNS yes
ForwardAgent no
ForwardX11 no
ForwardX11Trusted no
ServerAliveInterval 300
ServerAliveCountMax 2
Ciphers aes256-gcm@openssh.com
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
HostKeyAlgorithms rsa-sha2-512,rsa-sha2-256,ssh-ed25519