{"id":185,"date":"2016-05-10T20:53:28","date_gmt":"2016-05-10T20:53:28","guid":{"rendered":"https:\/\/bdwebit.com\/blog\/?p=185"},"modified":"2026-02-16T18:19:54","modified_gmt":"2026-02-16T12:19:54","slug":"restart-service-using-ssh-on-cpanel-server","status":"publish","type":"post","link":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/","title":{"rendered":"Restart Service Using SSH on cPanel Server"},"content":{"rendered":"<p>Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line instructions to stop, start, or restart system services such as Apache, MySQL, Exim, or cPanel-related services. This method is faster, more reliable, and often necessary when troubleshooting server performance issues, configuration changes, or service failures on a Linux-based hosting environment running cPanel &amp; WHM.<\/p>\n<h2>What is SSH and Why Use It?<\/h2>\n<p>SSH (Secure Shell) is a secure protocol that allows administrators to access and manage remote servers through a command-line interface. Instead of using graphical tools like WHM, SSH gives you direct server-level control.<\/p>\n<p>On a cPanel &amp; WHM server, SSH is commonly used to:<\/p>\n<ul>\n<li>Restart Apache (httpd)<\/li>\n<li>Restart MySQL\/MariaDB<\/li>\n<li>Restart Exim mail server<\/li>\n<li>Restart cPanel services<\/li>\n<li>Troubleshoot server errors<\/li>\n<li>Apply configuration updates<\/li>\n<\/ul>\n<p>SSH is especially useful when:<\/p>\n<ul>\n<li>WHM is not accessible<\/li>\n<li>A service crashes<\/li>\n<li>You need faster administrative control<\/li>\n<li>You are automating server management tasks<\/li>\n<\/ul>\n<h2>Requirements Before Restarting Services<\/h2>\n<p>Before proceeding, ensure:<\/p>\n<ol>\n<li>You have root access to the server.<\/li>\n<li>SSH is enabled.<\/li>\n<li>You know the correct service name.<\/li>\n<li>You are using a Linux-based OS (such as AlmaLinux, CloudLinux, or CentOS).<\/li>\n<\/ol>\n<h2>Step 1: Connect to Your cPanel Server via SSH<\/h2>\n<p>You can connect using:<\/p>\n<ul>\n<li>PuTTY (Windows)<\/li>\n<li>Terminal (Mac\/Linux)<\/li>\n<li>Built-in SSH from hosting panel<\/li>\n<\/ul>\n<p>Basic SSH connection command:<\/p>\n<pre><strong>Bash<\/strong>\r\nssh root@your-server-ip<\/pre>\n<p>Example:<\/p>\n<pre><strong>Bash<\/strong>\r\nssh root@192.168.1.10<\/pre>\n<p>After entering the command:<\/p>\n<ul>\n<li>Type your password<\/li>\n<li>Or use SSH key authentication<\/li>\n<\/ul>\n<p>Once logged in, you will see something like:<\/p>\n<pre><strong>Bash<\/strong>\r\n[root@server ~]#<\/pre>\n<p>This means you are logged in as root and ready to manage services.<\/p>\n<h2>Step 2: Understanding Service Management Commands<\/h2>\n<p>Most modern cPanel servers use systemd. The standard command to restart a service is:<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl restart servicename<\/pre>\n<p>Alternative older command:<\/p>\n<pre><strong>Bash<\/strong>\r\nservice servicename restart<\/pre>\n<p>For cPanel servers, both often work.<\/p>\n<h2>Restart Common Services on cPanel Server<\/h2>\n<p>Below are the most commonly restarted services and their SSH commands.<\/p>\n<p><strong>1. Restart Apache (HTTP Server)<\/strong><\/p>\n<p>Apache is responsible for serving websites.<\/p>\n<p>Service name: httpd<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl restart httpd<\/pre>\n<p>Or:<\/p>\n<pre><strong>Bash<\/strong>\r\nservice httpd restart<\/pre>\n<p>If Apache fails, check status:<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl status httpd<\/pre>\n<p><strong>2. Restart MySQL \/ MariaDB<\/strong><\/p>\n<p>Database services power WordPress, WooCommerce, Shopify integrations, and other applications.<\/p>\n<p>Service name: mysqld (or mariadb)<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl restart mysqld<\/pre>\n<p>Or:<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl restart mariadb<\/pre>\n<p>Check status:<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl status mysqld<\/pre>\n<p><strong>3. Restart Exim (Mail Server)<\/strong><\/p>\n<p>Exim handles email sending on cPanel servers.<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl restart exim<\/pre>\n<p>Check status:<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl status exim<\/pre>\n<p><strong>4. Restart cPanel Service<\/strong><\/p>\n<p>If WHM or cPanel interface stops working:<\/p>\n<pre><strong>Bash<\/strong>\r\n\/scripts\/restartsrv_cpsrvd<\/pre>\n<p>To restart all cPanel services:<\/p>\n<pre><strong>Bash<\/strong>\r\n\/scripts\/restartsrv_cpsrvd --force<\/pre>\n<p><strong>5. Restart FTP Service (Pure-FTPd)<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl restart pure-ftpd<\/pre>\n<p><strong>6. Restart cPHulk (Security Service)<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl restart cphulkd<\/pre>\n<p><strong>7. Restart Firewall (CSF)<\/strong><\/p>\n<p>If you use ConfigServer Security &amp; Firewall:<\/p>\n<pre><strong>Bash<\/strong>\r\ncsf -r<\/pre>\n<h2>How to Check Service Status Before Restarting<\/h2>\n<p>Before restarting, it is good practice to check service status:<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl status servicename<\/pre>\n<p>Example:<\/p>\n<pre><strong>Bash<\/strong>\r\nsystemctl status httpd<\/pre>\n<p>This shows:<\/p>\n<ul>\n<li>Whether service is active<\/li>\n<li>Error logs<\/li>\n<li>Recent activity<\/li>\n<\/ul>\n<h2>Safe Way to Restart Services<\/h2>\n<p>Restarting services on production servers can temporarily affect users. Follow these best practices:<\/p>\n<p><strong>1. Restart During Low Traffic<\/strong><\/p>\n<p>Avoid peak traffic hours.<\/p>\n<p><strong>2. Check Error Logs<\/strong><\/p>\n<p>Always investigate logs before repeated restarts.<\/p>\n<p>Apache logs:<\/p>\n<pre><strong>Bash<\/strong>\r\ntail -f \/var\/log\/httpd\/error_log<\/pre>\n<p>MySQL logs:<\/p>\n<pre><strong>Bash<\/strong>\r\ntail -f \/var\/log\/mysqld.log<\/pre>\n<p><strong>3. Use Graceful Restart for Apache<\/strong><\/p>\n<p>To avoid interrupting active connections:<\/p>\n<pre><strong>Bash<\/strong>\r\napachectl graceful<\/pre>\n<h2>When Should You Restart a Service?<\/h2>\n<p>You should restart services when:<\/p>\n<ul>\n<li>Configuration files are updated<\/li>\n<li>Server memory overload occurs<\/li>\n<li>Website returns 500 error<\/li>\n<li>Database connection fails<\/li>\n<li>Email sending stops<\/li>\n<li>Service crashes unexpectedly<\/li>\n<\/ul>\n<p>However, restarting is not always the solution. If a service repeatedly fails, deeper troubleshooting is needed.<\/p>\n<h2>Restart Services Using WHM (Alternative Method)<\/h2>\n<p>If SSH feels complex, you can restart services via:<\/p>\n<p>WHM \u2192 Home \u2192 Restart Services<\/p>\n<p>But SSH is preferred when:<\/p>\n<ul>\n<li>WHM is down<\/li>\n<li>Server is under heavy load<\/li>\n<li>You need faster control<\/li>\n<\/ul>\n<h2>Troubleshooting If Restart Fails<\/h2>\n<p>If a service does not restart:<\/p>\n<p><strong>1. Check Logs<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\njournalctl -xe<\/pre>\n<p><strong>2. Check Configuration Syntax<\/strong><\/p>\n<p>For Apache:<\/p>\n<pre><strong>Bash<\/strong>\r\napachectl configtest<\/pre>\n<p>For Exim:<\/p>\n<pre><strong>Bash<\/strong>\r\nexim -bV<\/pre>\n<p><strong>3. Check Disk Space<\/strong><\/p>\n<p>df -h<\/p>\n<p>Low disk space can prevent services from restarting.<\/p>\n<h2>Security Tips While Using SSH<\/h2>\n<ul>\n<li>Disable password login and use SSH keys.<\/li>\n<li>Change default SSH port.<\/li>\n<li>Use firewall protection.<\/li>\n<li>Limit root login.<\/li>\n<li>Enable cPHulk protection.<\/li>\n<\/ul>\n<h2>Automating Service Restart<\/h2>\n<p>Advanced administrators sometimes use cron jobs or monitoring tools to auto-restart failed services.<\/p>\n<p>Example cron entry:<\/p>\n<pre><strong>Bash<\/strong>\r\n*\/5 * * * * systemctl restart httpd<\/pre>\n<p>&#x26a0; Warning: Do not automate restarts without understanding the root cause. It can hide serious server issues.<\/p>\n<h2>Conclusion<\/h2>\n<p>Restart service using SSH on a cPanel server is a fundamental server management skill. It provides direct control, faster troubleshooting, and reliable service recovery compared to graphical tools. Whether you\u2019re managing email servers, eCommerce hosting, or business websites, knowing how to safely restart Apache, MySQL, Exim, and other core services ensures optimal server performance and uptime.<\/p>\n<p>For <a href=\"https:\/\/bdwebit.com\/hosting-server\">hosting providers<\/a> and server administrators, mastering SSH commands is essential for maintaining stable, secure, and high-performing cPanel servers.<\/p>\n<p>If you&#8217;re running eCommerce stores, high-traffic blogs, or SMTP servers, proactive service monitoring combined with proper SSH management can dramatically reduce downtime and improve overall server reliability.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line instructions to stop, start, or restart system services such as Apache, MySQL, Exim, or cPanel-related services. This method is faster, more reliable, and often necessary when troubleshooting server performance issues, configuration changes, or &#8230; <a title=\"Restart Service Using SSH on cPanel Server\" class=\"read-more\" href=\"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/\" aria-label=\"Read more about Restart Service Using SSH on cPanel Server\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":4070,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6],"tags":[],"class_list":["post-185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Restart Service Using SSH on cPanel Server<\/title>\n<meta name=\"description\" content=\"Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Restart Service Using SSH on cPanel Server\" \/>\n<meta property=\"og:description\" content=\"Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/\" \/>\n<meta property=\"og:site_name\" content=\"BDWEBIT Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-10T20:53:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-16T12:19:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/Restart-Service-Using-SSH-on-cPanel-Server.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Abraham M.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abraham M.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/\"},\"author\":{\"name\":\"Abraham M.\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/person\\\/b2625f2366684a57abaee622470db4be\"},\"headline\":\"Restart Service Using SSH on cPanel Server\",\"datePublished\":\"2016-05-10T20:53:28+00:00\",\"dateModified\":\"2026-02-16T12:19:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/\"},\"wordCount\":751,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/Restart-Service-Using-SSH-on-cPanel-Server.jpg\",\"articleSection\":[\"Hosting\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/\",\"name\":\"Restart Service Using SSH on cPanel Server\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/Restart-Service-Using-SSH-on-cPanel-Server.jpg\",\"datePublished\":\"2016-05-10T20:53:28+00:00\",\"dateModified\":\"2026-02-16T12:19:54+00:00\",\"description\":\"Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/Restart-Service-Using-SSH-on-cPanel-Server.jpg\",\"contentUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/Restart-Service-Using-SSH-on-cPanel-Server.jpg\",\"width\":1200,\"height\":628,\"caption\":\"Restart Service Using SSH on cPanel Server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/restart-service-using-ssh-on-cpanel-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Restart Service Using SSH on cPanel Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/\",\"name\":\"BDWEBIT Blog\",\"description\":\"Innovation and Excellence in IT\",\"publisher\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#organization\",\"name\":\"BDWEB IT\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo.png\",\"width\":300,\"height\":80,\"caption\":\"BDWEB IT\"},\"image\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/person\\\/b2625f2366684a57abaee622470db4be\",\"name\":\"Abraham M.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1782113477\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1782113477\",\"contentUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1782113477\",\"caption\":\"Abraham M.\"},\"sameAs\":[\"https:\\\/\\\/www.bdwebit.com\"],\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/author\\\/bdwebit\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Restart Service Using SSH on cPanel Server","description":"Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line","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:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/","og_locale":"en_US","og_type":"article","og_title":"Restart Service Using SSH on cPanel Server","og_description":"Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line","og_url":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/","og_site_name":"BDWEBIT Blog","article_published_time":"2016-05-10T20:53:28+00:00","article_modified_time":"2026-02-16T12:19:54+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/Restart-Service-Using-SSH-on-cPanel-Server.jpg","type":"image\/jpeg"}],"author":"Abraham M.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abraham M.","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#article","isPartOf":{"@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/"},"author":{"name":"Abraham M.","@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/person\/b2625f2366684a57abaee622470db4be"},"headline":"Restart Service Using SSH on cPanel Server","datePublished":"2016-05-10T20:53:28+00:00","dateModified":"2026-02-16T12:19:54+00:00","mainEntityOfPage":{"@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/"},"wordCount":751,"commentCount":0,"publisher":{"@id":"https:\/\/bdwebit.com\/blog\/#organization"},"image":{"@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#primaryimage"},"thumbnailUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/Restart-Service-Using-SSH-on-cPanel-Server.jpg","articleSection":["Hosting","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/","url":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/","name":"Restart Service Using SSH on cPanel Server","isPartOf":{"@id":"https:\/\/bdwebit.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#primaryimage"},"image":{"@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#primaryimage"},"thumbnailUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/Restart-Service-Using-SSH-on-cPanel-Server.jpg","datePublished":"2016-05-10T20:53:28+00:00","dateModified":"2026-02-16T12:19:54+00:00","description":"Restart a service using SSH on a cPanel server means securely connecting to your server via Secure Shell (SSH) and using command-line","breadcrumb":{"@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#primaryimage","url":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/Restart-Service-Using-SSH-on-cPanel-Server.jpg","contentUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/Restart-Service-Using-SSH-on-cPanel-Server.jpg","width":1200,"height":628,"caption":"Restart Service Using SSH on cPanel Server"},{"@type":"BreadcrumbList","@id":"https:\/\/bdwebit.com\/blog\/restart-service-using-ssh-on-cpanel-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bdwebit.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Restart Service Using SSH on cPanel Server"}]},{"@type":"WebSite","@id":"https:\/\/bdwebit.com\/blog\/#website","url":"https:\/\/bdwebit.com\/blog\/","name":"BDWEBIT Blog","description":"Innovation and Excellence in IT","publisher":{"@id":"https:\/\/bdwebit.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bdwebit.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/bdwebit.com\/blog\/#organization","name":"BDWEB IT","url":"https:\/\/bdwebit.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2019\/08\/logo.png","contentUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2019\/08\/logo.png","width":300,"height":80,"caption":"BDWEB IT"},"image":{"@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/person\/b2625f2366684a57abaee622470db4be","name":"Abraham M.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bdwebit.com\/blog\/wp-content\/litespeed\/avatar\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1782113477","url":"https:\/\/bdwebit.com\/blog\/wp-content\/litespeed\/avatar\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1782113477","contentUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/litespeed\/avatar\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1782113477","caption":"Abraham M."},"sameAs":["https:\/\/www.bdwebit.com"],"url":"https:\/\/bdwebit.com\/blog\/author\/bdwebit\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":2,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":4071,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions\/4071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/media\/4070"}],"wp:attachment":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}