SSH Connection with Private Key

  • Download private key (ends in .pem)
  • Navigate to folder location where you stored the key
  • Open terminal
  • Set the key’s file permissions: chmod 600 [key_filename.pem]
  • Use SSH command to log into your remote computer: ssh -i [key_filename.pem] [username]@[IP Address]

Leave a Reply

Matt is the author of five Apress books including Learn RStudio IDE, Quick, Effective, and Productive Data Science, Objective-C Recipes, Swift Quick Syntax Reference, Objective-C Quick Reference, and the upcoming Pro Data Visualization with R and JavaScript. He has over 20 years of experience in technology, psychometrics, and data analytics working in major higher education institutions such as The College Board and Educational Testing Service. He has earned a Master’s degree in Information Systems Management and a Bachelor’s degree in Quantitative Psychology.