Skip to main content

Allow SSH access to the public_html

Comments

3 comments

  • cPanelMichael
    Hello @toplisek, There's currently no feature in cPanel & WHM that allows you to enable SSH or SFTP access to virtual users. The currently functionality only allows you to control whether the cPanel username itself can access SSH/SFTP, and there's no feature to restrict which directories that user can access. We do have an open feature request you can vote for at: SFTP access for virtual FTP users Additionally, you may want to look into using Git as an alternative so that third-parties can make changes to website files via a local repository, and then "push" those changes to the repo hosted on the cPanel server. We provide more information about how it works as:
    0
  • toplisek
    I have clicked cPanel >> Home >> Files >> Git" Version Control under each account. You have an open feature request 5 years ago. It seems it is old way. 1. Enter the clone URL for the remote repository. Can be this virtual URL due to framworks which mask folder structure and due to security? 2. Enter the desired path for the repository"s directory. How to manage this as framework will add virtual folders or this is real path to edited files for CMS.
    0
  • cPanelMichael
    Hello @toplisek, Essentially, you could have your developer use a private Git repo on their local workstation to make the changes, and then have them "push" those changes to production. Here's a link that explains how deployment works: Guide to Git - Deployment - cPanel Knowledge Base - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.