Manjaro/Linux SSH Local Setup and Remote Login

Steps on how to generate a pair of private/public ssh keys on Manjaro Linux and login to remote server.

  • Use ssh-keygen on command line to generate a pair of id_rsa private and public key.
ssh-keygen
  • Login to remote server with
ssh -i ~/.ssh/id_rsa [email protected] -p PORTNUMBER

Make sure to change the following:

  • username-on-remote with the username on remote server
  • REMOTEIP with VPS IP address
  • PORTNUMBER with SSH port number (default is 22)