Setup SSH alias
11 March 2022 (Updated 11 March 2022)
On this page
Why aliases?
Instead of remembering a username and IP and doing something like:
ssh jim@47.123.32.34
You can use aliases to instead do:
ssh prod
Okay, how?
Add an entry to your ~/.ssh/config
:
Host production
Hostname 47.123.32.34
User jim
Tagged:
SSH
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment