The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot Generate SSH

Discussion in 'Security' started by financialcourse, Jan 27, 2013.

  1. financialcourse

    Joined:
    Jan 27, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello All,

    I am a new user of CPanel.
    I would like to generate SSH keys, so what I did is in my cpanel admin, I go to SSH/Shell Access > Manage SSH keys> Generate a New Key.

    However, after completing the Generate a New key setup, when I return to the SSH Key screen, I don't get a public key and a private key. This is what I get: No Public Keys Installed. I've followed what is shown in the tutorial video.

    Public Keys:

    Name Authorization Status Actions
    No Public Keys installed.
    * Note, it is possible that authorizing one key will cause multiple keys to be authorized if the keys are identical, but have different names.


    Private Keys:

    Name Actions
    No Private Keys installed.


    Anybody else experiencing the same issue?

    Thank you
     
  2. Greenhost

    Greenhost Well-Known Member

    Joined:
    Jan 22, 2013
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    To generate a new key:
    Click Manage SSH Keys:
    Click the Generate a new Key icon.
    Fill in the appropriate information.
    Note: You should consider your needs when choosing a key type, bearing in mind that RSA keys yield a faster confirmation of identity, while using DSA keys will speed up key generation and signing times.
    Click Generate Key to generate the new SSH key and automatically install it to the server.

    To view or download a key:
    Click View/Download next to the corresponding key in the appropriate table. You will be directed to a new page.
    Click Download Key to download the key. You can also copy the key and save it on your computer.
    Note: When you click View/Download in the Private Keys table, you also have the option to convert the key into .ppk format.
    To convert a private key and save it onto the server:
    Enter the key's passphrase into the box.
    Click Convert. You will be directed to a new page.
    Note: At this point, the .ppk key file is saved on the server as ~/.ssh/putty/$file.ppk (where $file is the name of the original SSH key).
    Click Download Key to download the converted key to your desktop.

    Check the following link and do it step by step:
    SSH/Shell Access
    And this a visual link. by Puty
     
    #2 Greenhost, Jan 27, 2013
    Last edited: Jan 27, 2013
  3. Greenhost

    Greenhost Well-Known Member

    Joined:
    Jan 22, 2013
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    One more question, Did you do anything in terminal for give the key?
    If not, could you get more information from cPanel log?
     
  4. financialcourse

    Joined:
    Jan 27, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi Greenhost, thanks!

    I am able to create one now.
    In your earlier post,

    I saw here - https://my.bluehost.com/cgi/help/putty
    Note: There is bug in cPanel at this time that does not allow you to create a 2048 or 4096 bit DSA key

    I am able to create now using RSA 4096.

    Thanks a lot! :)
     
Loading...

Share This Page