How to Generate SSH Key

Sideok You
Sep 5, 2018 · 1 min read

Inmotionhosting, ssh, VPS or Dedicated Server, OSX(Mac user), Linux

  1. Open Terminal
  2. Type the following into the Terminal

>ssh-keygen -t rsa -b 4096

3. Press enter again when you see aprompt to “Enter file in which to save the key”.

4. type a secure passphrase, and press enter.

5. do it again.

Your public key has been saved in /home/userna5/.ssh/id_rsa.pub.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade