Skip to content

Instantly share code, notes, and snippets.

@channprj
Created June 7, 2020 16:44
Show Gist options
  • Save channprj/a6ff81cb0d0a21460842f3fd01e8220d to your computer and use it in GitHub Desktop.
Save channprj/a6ff81cb0d0a21460842f3fd01e8220d to your computer and use it in GitHub Desktop.
~/.ssh/config
ServerAliveInterval 120
Host *
UseKeychain yes
# Company Server
# ------------------------------------
Host company-sample-server
HostName sample.company.com
User sample_user
IdentityFile ~/.ssh/sample/id_rsa
ProxyCommand ssh -W sample.company.com:22 [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment