top of page

How to Create an SSH Shortcut

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
 
 
 

Recent Posts

See All
Install Surfshark CLI

Step-by-step guide to automatically set up Surfshark VPN on Ubuntu (for both CLI and autostart at boot): sudo apt update sudo apt install snapd sudo snap install surfshark https://chatgpt.com/share/

 
 
 

Comments


Contact Me

Tel: 678-642-8051

cspeed@jcsassoc.com

  • Google+ Long Shadow
  • LinkedIn Long Shadow
  • Facebook Social Icon
  • Twitter Long Shadow

© 2005 by Christopher Speed

Your details were sent successfully!

bottom of page