Skip to content

Instantly share code, notes, and snippets.

@favasconcelos
Last active June 7, 2016 14:12
Show Gist options
  • 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