Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mass replace of all user-files

Discussion in 'General Discussion' started by michalexpromo, Nov 5, 2009.

  1. michalexpromo

    michalexpromo Registered

    Nov 5, 2009
    Likes Received:
    Trophy Points:
    Hello everyone!

    I'm a newbie here and Was not able to find a solution to the problem I'm facing.
    I'm using WHM to provide customers with new accounts that include a installation of my script.

    The problem is that I would like to be able to do a mass-replace of certain files of the script when a bug is reported and then fixed.

    So I have 2 questions:
    1) Can I access all of my user files from ... a single FTP connection as an ultra-root maybe? I have a reseller account in a hosting company, can this be done?
    2) Maybe a software like this already exists? :)

    Please let me know - thank you.
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Nov 5, 2008
    Likes Received:
    Trophy Points:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    If your service provider allows command-line access via SSH for all accounts this would be possible using SSH keys, where you could upload the new files via SFTP, or while logged-in using your main reseller account initiate SSH commands as or an SCP file transfer to each cPanel account user provided that each user has authorized your public SSH key. I recommend checking with your service provider to see if SSH access is available for all accounts. Please note that certain features in WHM may require root (Administrator) access privileges (i.e., to enable or disable SSH access, and managing SSH keys via WHM).

    The following documentation may also help in regard to managing SSH keys:
    ManageSsh < AllDocumentation/WHMDocs < TWiki
    ShellAccess < AllDocumentation/CpanelDocs < TWiki

    Related control panel menu paths:
    WHM: Main >> Security >> Manage SSH Keys
    cPanel: Main >> Security >> SSH/Shell Access >> Manage SSH Keys
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice