Skip to content

Instantly share code, notes, and snippets.

@ryanlid

ryanlid/config Secret

Last active April 10, 2019 09:19
Show Gist options
  • Save ryanlid/814de0ac719680d248c0ad37a6915c78 to your computer and use it in GitHub Desktop.
Save ryanlid/814de0ac719680d248c0ad37a6915c78 to your computer and use it in GitHub Desktop.
~/.ssh/config
# ~/.ssh/config
ServerAliveInterval 60
Host sz
HostName sz.lidong.me
IdentityFile ~/.ssh/id_rsa
ForwardAgent yes
User root
Host hk
HostName hk.lidong.me
IdentityFile ~/.ssh/id_rsa
ForwardAgent yes
User root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment