Skip to content

Instantly share code, notes, and snippets.

@favasconcelos
Last active June 7, 2016 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save favasconcelos/af86b7ba60ded60234c8cf25ee704928 to your computer and use it in GitHub Desktop.
Save favasconcelos/af86b7ba60ded60234c8cf25ee704928 to your computer and use it in GitHub Desktop.
ssh config file with pattern
Host *.server.com
User user1
IdentityFile ~/.ssh/server/id_rsa
Host project1
HostName project1.server.com
Host project2
HostName project2.server.com
Port 1234
Host 123.456.77.?
User user3
IdentityFile ~/.ssh/server/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment