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.

No SSH keys in cPanel, previous files remain: putty/id_das & #.private.ppk

Discussion in 'Security' started by dtctio, Nov 1, 2014.

  1. dtctio

    dtctio Member

    Joined:
    Sep 6, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I've been getting my hands wet with SFTP and SSH (for Filezilla and VaultPress).

    I deleted all keys in 'SSH Manager' & 'Manage SSH Keys', but the following files remain on the server, still:

    .ssh/putty/xxxx.private.ppk

    .ssh/putty/id_dsa.ppk

    Extra: in /.ssh I have 2 authorized_key(s): authorized_keys, authorized_keys2; both a File Size 1KB and both are empty files. Why are there 2 of these files types?

    Each time I test, I delete all keys from within cPanel and re-do from anew.

    Can I manually delete these files? Should they be automatically removed after deleting all keys in cPanel?
     
    #1 dtctio, Nov 1, 2014
    Last edited: Nov 1, 2014
  2. dtctio

    dtctio Member

    Joined:
    Sep 6, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Answer: delete all in putty (they're not auto-deleted in my case), and leave both auth..._keys alone as one will be repopulated in setting up new keys.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to see you were able to find the answer to your question. Thank you for updating us with the outcome. Note that internal case number 97725 is open to address an issue where in order to successfully replace keys in cPanel you have to manually delete files in the account's ".ssh" directory.

    Thank you.
     
Loading...

Share This Page