{"id":14087,"date":"2024-09-27T05:56:42","date_gmt":"2024-09-27T05:56:42","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=14087"},"modified":"2024-10-28T05:51:03","modified_gmt":"2024-10-28T05:51:03","password":"","slug":"how-to-reset-cyberpanel-password-via-terminal-ssh","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/","title":{"rendered":"How to reset Cyberpanel password via Terminal\/SSH"},"content":{"rendered":"\n<p>There are times when you will need to change your Cyberpanel password, maybe because you have forgotten your current password or because you just want to update the password.<\/p>\n\n\n\n<p><strong>Needed:<\/strong><br>* A server with Cyberpanel installed, whose password you want to change.<br>* Sudo user SSH access to the server;<br> -This includes server IP or hostname that resolves to the IP, sudo user like root or any other that you have, ssh password for the user. If the server does not use the default ssh port 22, you will also need to know the custom SSH port. If your server is with <strong>Truehost<\/strong>, and you do have forgotten these details, you may reach our <a href=\"https:\/\/wa.me\/19726743814\" target=\"_blank\" rel=\"noreferrer noopener\">support desk<\/a> for help.<br>* An SSH client, like terminal which comes already available on Linux systems. <br> -For windows users, you can use Powershell or install SSH clients like Termius or Putty which can be installed on Windows Systems<br>In this illustration, our server IP is <strong>178.32.214.84<\/strong> and it used the default SSH port, which is <strong>22<\/strong>.<\/p>\n\n\n\n<p><strong>Check <em><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-a-server-via-ssh-terminal\/\" target=\"_blank\" rel=\"noreferrer noopener\">this<\/a><\/em> article on how to SSH to a server<\/strong><\/p>\n\n\n\n<p><br><strong>Proceed as follows:<\/strong><br><br>1. Open your SSH client type the command below. Ensure to replace the IP <strong>178.32.214.84<\/strong> with your actual server IP.<\/p>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code>\n                     <strong><em>ssh root@178.32.214.84<\/em><\/strong>\n <\/code><\/pre>\n\n\n\n<p>Type yes, then <strong>Enter<\/strong>, if you are asked to add key-prints<strong><br><\/strong>You will then be asked to input a password for the user that you used, In our case it is root. <br><br>2. Type or paste your password and you will be logged in as below. If you use a user that is not root, you will need to run this command <strong><em>sudo su<\/em><\/strong> -to escalate to root terminal<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"291\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97.png\" alt=\"\" class=\"wp-image-14088\" style=\"width:520px;height:auto\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97.png 689w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97-300x127.png 300w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/figure>\n\n\n\n<p>3. Type the command below to change the password. <\/p>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code><strong>adminPass <em>yournewPassword<\/em><\/strong><\/code><\/pre>\n\n\n\n<p>Ensure to replace <strong><em>yournewPassword<\/em><\/strong> with the actual password that you want to set. <br>If I want to set the password as ghhghghghgh, then my command will be <strong>adminPass<\/strong> <strong>ghhghghghgh<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"388\" height=\"137\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-99.png\" alt=\"\" class=\"wp-image-14090\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-99.png 388w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-99-300x106.png 300w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/figure>\n\n\n\n<p>You will then get a message on terminal that says <strong>Admin password successfully changed!<\/strong>. You may now use your new password to access Cyberpanel as guided <strong>here<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are times when you will need to change your Cyberpanel password, maybe because you have forgotten your current password or because you just want to update the password. Needed:* A server with Cyberpanel installed, whose password you want to change.* Sudo user SSH access to the server; -This includes server IP or hostname that [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[2121,1879],"doc_tag":[],"class_list":["post-14087","docs","type-docs","status-publish","hentry","doc_category-cyberpanel","doc_category-servers"],"year_month":"2026-06","word_count":330,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Eugene","author_nicename":"eugene","author_url":"https:\/\/truehost.com\/support\/author\/eugene\/"},"doc_category_info":[{"term_name":"Cyberpanel","term_url":"https:\/\/truehost.com\/support\/docs-category\/cyberpanel\/"},{"term_name":"Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to reset Cyberpanel password via Terminal\/SSH -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to reset Cyberpanel password via Terminal\/SSH -\" \/>\n<meta property=\"og:description\" content=\"There are times when you will need to change your Cyberpanel password, maybe because you have forgotten your current password or because you just want to update the password. Needed:* A server with Cyberpanel installed, whose password you want to change.* Sudo user SSH access to the server; -This includes server IP or hostname that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-28T05:51:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/\",\"name\":\"How to reset Cyberpanel password via Terminal\\\/SSH -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/image-97.png\",\"datePublished\":\"2024-09-27T05:56:42+00:00\",\"dateModified\":\"2024-10-28T05:51:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/image-97.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/image-97.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-reset-cyberpanel-password-via-terminal-ssh\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to reset Cyberpanel password via Terminal\\\/SSH\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to reset Cyberpanel password via Terminal\/SSH -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/","og_locale":"en_US","og_type":"article","og_title":"How to reset Cyberpanel password via Terminal\/SSH -","og_description":"There are times when you will need to change your Cyberpanel password, maybe because you have forgotten your current password or because you just want to update the password. Needed:* A server with Cyberpanel installed, whose password you want to change.* Sudo user SSH access to the server; -This includes server IP or hostname that [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/","article_modified_time":"2024-10-28T05:51:03+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/","name":"How to reset Cyberpanel password via Terminal\/SSH -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97.png","datePublished":"2024-09-27T05:56:42+00:00","dateModified":"2024-10-28T05:51:03+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/09\/image-97.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-reset-cyberpanel-password-via-terminal-ssh\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to reset Cyberpanel password via Terminal\/SSH"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=14087"}],"version-history":[{"count":8,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14087\/revisions"}],"predecessor-version":[{"id":15891,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14087\/revisions\/15891"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=14087"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=14087"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=14087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}