Skip to content

Instantly share code, notes, and snippets.

@hsupu
Created February 12, 2021 13:02
Show Gist options
  • Save hsupu/7836e2490c9a361dbfb239584f7e0664 to your computer and use it in GitHub Desktop.
Save hsupu/7836e2490c9a361dbfb239584f7e0664 to your computer and use it in GitHub Desktop.
OpenSSH Client Config
TCPKeepAlive yes
ServerAliveInterval 30
Include config.d/*.conf
Host 10.*.*.* 172.[16-31].*.* 192.168.*.*
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
ControlMaster auto
ControlPath ~/.ssh/sessions/master-%r@%h:%p
Host 127.*.*.*
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Host *
Protocol 2
IdentitiesOnly no
PasswordAuthentication yes
IdentityFile ~/.ssh/id_rsa
@hsupu
Copy link
Author

hsupu commented Feb 9, 2022

moved to dotmy/notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment