Skip to content

SSH

Connect to a machine

  1. Update host file

    ~/.ssh/config
    Host shortname
    HostName hostname
        User username
    
  2. (First time setup) Set permissions on the config file

    chmod 600 ~/.ssh/config
    
  3. Copy key

    ssh-copy-id shortname
    

Last update: April 30, 2023
Created: April 30, 2023