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.

Rsync to server with Certificate

Discussion in 'Data Protection' started by Steve Kessler, Apr 21, 2015.

  1. Steve Kessler

    Steve Kessler Active Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, Colorado, United State
    cPanel Access Level:
    Root Administrator
    I have a client computer that needs to be able to rsync to my cPanel machine with a certificate rather than a user name and password. I would like this to happen for a specific existing user. Is there documentation on how to do this with cPanel.

    Thanks,
    Steve
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Can you please let me know which certificate you want to use with the SSL ?

    If you want to sync your files on daily basis then you will need to enable Shall access for cpanel users.
     
  3. Steve Kessler

    Steve Kessler Active Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, Colorado, United State
    cPanel Access Level:
    Root Administrator
    I am not sure what you mean type of certificate. We have Shell access enabled but I need to gain shell access via certificate. So I need to install the certificate.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. Steve Kessler

    Steve Kessler Active Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, Colorado, United State
    cPanel Access Level:
    Root Administrator
    Maybe I am not explaining well my problem. I have a certificate generated on the other server and I can produce the command for using the certificate. I am confused about the best way to install the certificate on the cPanel side so that the other server (not cPanel) can authenticate as the cPanel user.

    The main this is how to install the certificate for the user.

    Thanks,
    Steve
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You have to create the file via the command line and then modify the configuration file for the user or for "root" per the instructions in the answers from the URL referenced in my last reply.

    Thank you.
     
  7. Steve Kessler

    Steve Kessler Active Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, Colorado, United State
    cPanel Access Level:
    Root Administrator
    Do you know where the settings file is. I do not have a settings file at /root/.ssh like the instructions imply I should.

    Thanks!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  9. Steve Kessler

    Steve Kessler Active Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, Colorado, United State
    cPanel Access Level:
    Root Administrator
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    If the remote user only needs access to an individual account, you can manage SSH keys through cPanel:

    "cPanel >> SSH/Shell Access >> Manage Keys"

    The description provided should help clarify this:

    Public and private keys are created together. Public keys reside on the remote server, while private keys reside on your local computer or server. When you attempt to log in to the remote server, SSH compares the public and private keys. If they match, SSH will allow you to log in.


    Download your public and private keys here to import them into PuTTY or other SSH clients. If you already use PuTTY, click Import Key to import the public and private keys.You can download your key in the PuTTY PPK format from the View or Download section.


    Thank you.
     
  11. Steve Kessler

    Steve Kessler Active Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, Colorado, United State
    cPanel Access Level:
    Root Administrator
    So, on my screen it was under SSL/TLS manage keys.

    Thanks for all your help!

    -Steve
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    This is for SSL certificates. To clarify, is the issue now resolved? If so, would you mind sharing the steps you took to address the issue?

    Thank you.
     
Loading...

Share This Page