{"id":421,"date":"2021-07-23T12:29:31","date_gmt":"2021-07-23T12:29:31","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-authenticate-your-server-for-cpanel-technical-support\/"},"modified":"2021-07-23T12:29:31","modified_gmt":"2021-07-23T12:29:31","slug":"how-to-authenticate-your-server-for-cpanel-technical-support","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-authenticate-your-server-for-cpanel-technical-support\/","title":{"rendered":"How to Authenticate your Server for cPanel Technical Support"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>If you opened a support ticket but did not grant cPanel Technical Support access to your server, you can do so at any time. Use one of the methods described below to authenticate your server for cPanel Technical Support access.<\/p>\n<h2 id=\"the-grant-cpanel-support-access-interface\">The Grant cPanel Support Access interface<\/h2>\n<p>Use WHM\u2019s <em>Grant cPanel Support Access<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Support &gt;&gt; Grant cPanel Support Access<\/em>) to grant server access.<\/p>\n<h2 id=\"manually-grant-server-access\">Manually grant server access<\/h2>\n<p>To manually allow cPanel Technical Support server access, perform the following steps:<\/p>\n<ol>\n<li>\n<p>In your browser, navigate to the cPanel Help Center and log in to your account.<\/p>\n<\/li>\n<li>\n<p>Click <em>My Requests<\/em> at the top of this interface. The system will direct you to the <em>My Requests<\/em> interface.<\/p>\n<\/li>\n<li>\n<p>In the <em>Subject<\/em> column, click the subject of the ticket that you want to update. A new interface will appear.<\/p>\n<\/li>\n<li>\n<p>Select <em>Add\/Update<\/em> from the <em>Server Info<\/em> row. You can find this in the <em>Ticket details<\/em> panel on the right. Afterwards, the <em>Update Server Information<\/em> interface will appear.<\/p>\n<\/li>\n<\/ol>\n<h3 id=\"update-your-server-information\">Update your server information<\/h3>\n<p>In this interface, update any of your server\u2019s information in the provided text boxes. If you <strong>must<\/strong> provide cPanel Technical Support any usernames and passwords, enter them in the <em>Server Notes<\/em> text box.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>Do <strong>not<\/strong> provide any login details in your support responses. This is a security risk.<\/p>\n<\/p><\/div>\n<\/div>\n<h4 id=\"authentication-for-multiple-servers\">Authentication for multiple servers<\/h4>\n<p>You can also submit authentication information for multiple servers. This is useful if you want to migrate multiple servers to cPanel &#038; WHM, or need support for multiple servers. Click the plus icon (<code>+<\/code>) in the <em>Update Server Information<\/em> interface to create a new server tab, then enter the server\u2019s information. When you are finished, click <em>Update Servers<\/em> to save your changes.<\/p>\n<h4 id=\"rename-a-server\">Rename a server<\/h4>\n<p>To rename a server\u2019s tab, then select the tab that you want to rename. In the <em>Server Name<\/em> text box, enter the new name. Repeat this for any additional sever tabs, then click <em>Update Servers<\/em> to save. When you are finished, click <em>Done<\/em>.<\/p>\n<h3 id=\"allow-cpanel-access-to-your-server\">Allow cPanel access to your server<\/h3>\n<p>In the <em>Refuse Access to Server<\/em> section, select <em>I DO NOT wish to provide cPanel access to my server<\/em> to allow access.<\/p>\n<h3 id=\"manage-ssh-keys\">Manage SSH keys<\/h3>\n<p>You will receive a unique public SSH key for each server for which you provide information. Use WHM\u2019s <em>Manage root SSH Keys<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Security Center &gt;&gt; Manage root\u2019s SSH Keys<\/em>) to add these SSH keys. You can also find your unique SSH key in the ticket\u2019s <em>Update Server Information<\/em> interface.<\/p>\n<h3 id=\"ensure-cpanel-technical-support-ip-addresses-server-access\">Ensure cPanel Technical Support IP addresses server access<\/h3>\n<p>When you create a ticket, the ticket will display a list of cPanel Technical Support-sanctioned IP addresses. cPanel Technical Support also provides this list in your ticket\u2019s confirmation email. You <strong>must<\/strong> ensure that your server\u2019s firewall settings allow cPanel Technical Support to connect to your server from the following IP addresses:<\/p>\n<div id=\"ip-container\"><\/div>\n<p>   <script type=\"text\/javascript\">\n       \/\/ Fetch a list of ips from the ticket system for the test servers.\n       \/\/ List will be populated to ip-container div.\n   $(document).ready(function(){\n       $.ajax({\n           \/\/url: 'https:\/\/tickets.cpanel.net\/json-api\/access-ips\/',\n           url: 'https:\/\/tickets.cpanel.net\/json-api\/access-ips\/jsonp',\n           cache: true,\n           dataType: 'jsonp',\n           success: function( server_response ) {\n               var $ip_list = $('<\/p>\n<ul>', {\n                   id: 'ip-list',\n               });\n   var $code_tag = $('<code>');\n   $code_tag.append( $ip_list );\n               $.each( server_response.data, function( index, value ) {\n                   $ip_list.append(\n                       $('<\/p>\n<li>', {\n                           id:'ip-' + index,\n                           text: value.ip\n                       })\n                   );\n               });\n               $('#ip-container').append( $code_tag );\n           },\n     error: function() {\n    $('#ip-container').text( 'Error contacting the cPanel Customer Portal. Please refresh the page.' );\n     }\n       });\n   });\n   <\/script><\/p>\n<p>Use WHM\u2019s <em>Host Access Control<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Security Center &gt;&gt; Host Access Control<\/em>) to add these IP addresses to your firewall.<\/p>\n<h2 id=\"direct-ssh-access\">Direct SSH access<\/h2>\n<p>You can also authorize cPanel Technical Support access via the command line. Use the following command, where <code>TICKETNUMBER<\/code> is your ticket ID number and <code>#<\/code> is the server ID number from your ticket:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-BASH\" data-lang=\"BASH\">AUTHUSER<span style=\"color:#f92672\">=<\/span>root TICKET<span style=\"color:#f92672\">=<\/span><span style=\"color:#e6db74\">`<\/span>TICKETNUMBER<span style=\"color:#e6db74\">`<\/span> SERVERNUM<span style=\"color:#f92672\">=<\/span><span style=\"color:#75715e\"># \/scripts\/autorepair authorize<\/span><\/code><\/pre>\n<\/div>\n<h3 id=\"servers-with-a-non-root-ssh-login\">Servers with a non-root SSH login<\/h3>\n<p>If your server does not use the <code>root<\/code> login, replace <code>root<\/code> in the command above with the SSH login username. The username you provide <strong>must<\/strong> have full <code>su<\/code> or <code>sudo<\/code> access. You must also provide all required <code>root<\/code> and user passwords in the ticket\u2019s server information. To do this, perform the following steps:<\/p>\n<ol>\n<li>\n<p>In your browser, navigate to the cPanel Help Center and log in to your account.<\/p>\n<\/li>\n<li>\n<p>Click <em>My Requests<\/em> at the top of this interface. The system will direct you to the <em>My Requests<\/em> interface.<\/p>\n<\/li>\n<li>\n<p>In the <em>Subject<\/em> column, click the subject of the ticket that you want to update. A new interface will appear.<\/p>\n<\/li>\n<li>\n<p>Select <em>Add\/Update<\/em> from the <em>Server Info<\/em> row. You can find this in the <em>Ticket details<\/em> panel on the right. Afterwards, the <em>Update Server Information<\/em> interface will appear.<\/p>\n<\/li>\n<li>\n<p>In the <em>Username for SSH Access<\/em> section, enter the non-<code>root<\/code> username.<\/p>\n<\/li>\n<li>\n<p>In the <em>Authentication Method for SSH Access<\/em> section, select <em>Provide Password<\/em>, then enter the non-<code>root<\/code> username\u2019s password.<\/p>\n<\/li>\n<li>\n<p>In the <em>Root Escalation Method<\/em> section, select whether the user has <code>sudo<\/code> or <code>su<\/code> access.<\/p>\n<\/li>\n<li>\n<p>In the <em>Password Visibility Information<\/em> section, select one of the following options:<\/p>\n<ul>\n<li>\n<p><em>Only permit Tech Analysts to access this server via our automated login system.<\/em> \u2014 Do <strong>not<\/strong> allow cPanel Technical Support to view your password information.<\/p>\n<\/li>\n<li>\n<p><em>Permit Tech Analysts to view your passwords for this server.<\/em> \u2014 Allow cPanel Technical Support to view your password information.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Click <em>Update Servers<\/em> to save your changes.<\/p>\n<\/li>\n<\/ol><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview If you opened a support ticket but did not grant cPanel Technical Support access to your server, you can do so at any time. Use one of the methods described below to authenticate your server for cPanel Technical Support access. The Grant cPanel Support Access interface Use WHM\u2019s Grant cPanel Support Access interface (WHM &hellip;<\/p>\n","protected":false},"author":1,"featured_media":422,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/421"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/422"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}