Skip to content

Instantly share code, notes, and snippets.

@riivanov
Last active February 5, 2023 18:18
Show Gist options
  • Save riivanov/41f963ed60ae7a095ab459d9411dd5c4 to your computer and use it in GitHub Desktop.
Save riivanov/41f963ed60ae7a095ab459d9411dd5c4 to your computer and use it in GitHub Desktop.
~/.ssh/config - How to create alias for ssh connection: End Result - `ssh aws-eu-north-1` to connect
Host aws-eu-north-1
HostName ec2-16-170-180-221.eu-north-1.compute.amazonaws.com
User ubuntu
IdentityFile /home/rivanov/.ssh/aws_ed25519-eu-north-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment