Setup an RSA-Key

  • Use an RSA key to SSH into your Linux Serve
    From your Linux PC terminal generate an RSA key.
    ssh-keygen -t rsa
    Then create a file called authorized_keys on the Linux Server user profile you want to RSA into.
    Then run the following command from your PC to add your key.
    cat ~/.ssh/id_rsa.pub | ssh user@ipaddress “cat >> ~/.ssh/authorized_keys”
    Now you can ssh into your server with an RSA key.