Last active
February 5, 2023 18:18
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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