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: August 11, 2023
Created: June 3, 2023