How to Create an SSH Shortcut
- Chris Speed
- Jun 12, 2023
- 1 min read
Updated: Jul 5, 2023
nano ~/.ssh/config
Host plexserver
HostName 10.0.0.251
User plex
Port 9022
Host citron
HostName 10.0.0.165
User citron
Port 22
Now, you can simply SSH into any of these servers with these simple commands:
ssh plexserver
ssh citron
If this isn’t working for you, trying changing the permissions of the config file like this:
chmod 600 ~/.ssh/config
Comentarios