SSH Access

September 11, 2017     0 comments

Use the SSH Access interface to securely connect to your sever remotely through the command line.

(Home >> Security >> SSH Access)

Overview

This interface provides information about how to connect to another web server via the SSH (secure shell) network protocol.

The SSH (secure shell) network protocol allows you to connect to another web server over the Internet via a command line interface (CLI). You can use this network protocol to remotely manage your server, configure CGI scripts, and perform other tasks.

Many modern operating systems, such as Mac® OS X and Linux distributions, include SSH. If you use Microsoft Windows® to connect to your server, you must use an SSH client, such as PuTTY, to log in to your server.

Many Unix-based operating systems include standardized commands. For a list of standardized Unix-based (POSIX) commands, read the One-Serve website documentation.

Manage SSH keys

This section of cPanel's SSH Access interface allows you to create, import, manage, and remove SSH keys. The system will use these keys when you confirm that a specific computer has the right to access your website’s information with SSH. You may perform the following actions from cPanel's Manage SSH Keys interface ( Home >> Security >> SSH Access >> Manage SSH Keys).

Generate a New Key

Use this section of the interface to create new SSH key pairs, which include a public key and a private key.

To generate a new SSH key pair, perform the following steps:

  1. Click Generate a New Key.
  2. To use a custom key name, enter the key name in the Key Name (This value defaults to id_rsa): text box.

    Note: If you use a custom key name, you must manually specify the SSH key when you log in to the server.

  3. Enter and confirm the new password in the appropriate text boxes.

    Notes:

    • The system grades the password that you enter on a scale of 100 points. 0 indicates a weak password, while 100 indicates a very secure password.
    • Some web hosts require a minimum password strength. A green password Strength meter indicates that the password is equal to or greater than the required password strength.
    • Click Password Generator to generate a strong password.

  4. Select the desired key type.
    • DSA keys provide quicker key generation and signing times.
    • RSA keys provide quicker verification times.
  5. Select the desired key size.

    Note: Greater key sizes are more secure, but they result in larger file sizes and slower authentication times.

  6. Click Generate Key. The interface will display the saved location of the key.

    Important: For the new SSH key to function, you must authorize the SSH key.

Import Key

To import an existing SSH key, perform the following steps:

  1. Click Import Key.

  2. To use a custom key name, enter the key name in the Choose a name for this key (defaults to id_dsa) text box.

    Important: If you use a custom key name, you must manually specify the SSH key when you log in to the server.

  3. Paste the public and private keys into the appropriate text boxes.

  4. Click Import.

Manage your keys

The Public Keys and Private Keys tables display the following information about your existing keys:


How helpful was this article to you?

Leave a comment

Your name
Your email address
Comment on this article
Powered by