Install and Setup SSH

Basic Steps

  1. Make a new directory for holding keys

    mkdir ~/keys
    
  2. Decrypt your current keys

    Either retrieve your keys from remote through nautilus and unencrypt or use command line

    gpg --output ~/keys/folder/key_filename1 --decrypt my/remote/filesystem/ssh/key_filename1.pgp
    
  3. Copy in your config file:

    mkdir ~/.ssh
    cp my/remote/filesystem/ssh/config ~/.ssh/config
    
  4. Set folder permissions

    chmod 700 ~/keys
    chmod 600 ~/keys/*
    chmod 644 ~/keys/*.pub
    chmod 700 ~/.ssh
    chmod 600 ~/.ssh/*
    chmod 644 ~/.ssh/*.pub
    

Other Useful commands

See SSH Reference for more info