InMotion Hosting Support Center

SSH access allows you to have 'command line access' to the server that houses your account. This allows you to have a secure, remote connection to your server and account. The SSH program allows you to use a password to connect, but it is easier and more secure to use SSH 'keys'. These keys are a type of cryptographic challenge and response that have many advantages. Shown below are a few ways to generate some SSH keys of your own:

For Windows Users

  1. Open the PuTTYgen application.
  2. Select key type For 'Type of key to generate', select RSA.
  3. Determine number of bits For 'Number of bits in a generated key', select 4096.
  4. Determine number of bits Click Generate.
  5. Click on Generate button Move your mouse pointer around in the Key section until the progress bar is full.
  6. Optional: Type a comment into the Key comment section to help with identifying this SSH key pair.
  7. Type key phrase Recommended: Type a secure passphrase into the Key passphrase field, and again into the Confirm passphrase field.
  8. save keys Finally, click the Save public key, and also the Save private key buttons, and name your keys. Be sure to save both keys in your user's .ssh directory inside their home directory. For instance: C:\Users\userna5\.ssh\id_rsa.pub
    C:\Users\userna5\.ssh\id_rsa.ppk

For OS X / Linux Users

  1. Open Terminal from your Application list.
  2. Type the following into the Terminal, and then hit Enter: ssh-keygen -t rsa -b 4096
  3. Press Enter again when you see a prompt to "Enter file in which to save the key".
  4. When prompted, type a secure passphrase, and press Enter.
  5. When prompted, type the secure passphrase again to confirm, and press Enter.
  6. You should see the following successful message containing the details that pertain to your key that was generated:

    userna5@localhost ~ $ ssh-keygen -t rsa -b 4096
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/userna5/.ssh/id_rsa): 
    Enter passphrase (empty for no passphrase): 
    Enter same passphrase again: 
    Your identification has been saved in /home/userna5/.ssh/id_rsa.
    Your public key has been saved in /home/userna5/.ssh/id_rsa.pub.
    The key fingerprint is:
    SHA256:PRxLu/LU6ZfFDve1sTIR0nK86NJVYRxRONCz0N5oy7U userna5@localhost
    The key's randomart image is:
    +---[RSA 4096]----+
    |            .+.+=|
    |            . *+ |
    |          o oo.*.|
    |         + * ==.o|
    |        S * =o++.|
    |           = =+E=|
    |        . = + .**|
    |         = + oooo|
    |          o ..o  |
    +----[SHA256]-----+
    
Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!