Back

Adding SSH Alias

Set up SSH aliases for easier remote server access

Create SSH aliases for quick and easy remote server access, reducing the need to remember lengthy commands.


Add New SSH Alias

  1. Open the SSH config file
nano ~/.ssh/config
  1. Add the alias for your remote server
Host forge
   HostName 192.168.1.99
   User forge
   # Port 2222

Using The Alias

To connect using the alias

ssh forge

Now you can access your server with just the alias forge, simplifying the connection process.

Kuala Lumpur, Malaysia.
© Copyright 2025. All rights reserved.