Skip to content

Instantly share code, notes, and snippets.

@channprj
Created June 7, 2020 16:44
Show Gist options
  • Select an option

  • Save channprj/a6ff81cb0d0a21460842f3fd01e8220d to your computer and use it in GitHub Desktop.

Select an option

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 sample_user@bastion.sample.company.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment