Configure a Convenient SSH Profile
Configure an SSH profile
Create an SSH client configuration to avoid entering the username, IP address, port, and key path every time.
Open or create the local SSH configuration file.
Linux and macOS
Add:
Host hakuna-matata
HostName 192.0.2.1
User root
Port 22 # Delete this line if you use the default port.
IdentityFile ~/.ssh/id_ed25519
Replace the example values with the details of your VPS.
Set the correct permissions:
You can then connect using: