{"id":4989,"date":"2016-08-18T03:35:16","date_gmt":"2016-08-18T03:35:16","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=4989"},"modified":"2021-02-04T04:48:07","modified_gmt":"2021-02-04T04:48:07","slug":"start-stop-restart-enable-reload-openssh-server-linux","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/","title":{"rendered":"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux"},"content":{"rendered":"<p><span style=\"color: #000000;\">If you want to start, stop, restart, enable, reload &amp; check the status of the service follow the below commands to do it. Either root or sudo Authorization required to run the below commands. All the services is available \u201c\/etc\/init.d\/.<\/span><!--more--><\/p>\n<h3><strong>1) To Start OpenSSH service<\/strong><\/h3>\n<p>Use the below commands to start the OpenSSH server in Linux.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \"># For Sysvinit Systems #\r\n# service sshd start\r\nor\r\n# \/etc\/init.d\/sshd start\r\n\r\n# For Systemd Systems #\r\n# systemctl start sshd.service\r\nor\r\n# systemctl start sshd\r\nor\r\n# \/bin\/systemctl start sshd.service<\/pre>\n<\/div>\n<h3><strong>2) To Stop OpenSSH service<\/strong><\/h3>\n<p>Use the below commands to stop the OpenSSH server in Linux.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \"># For Sysvinit Systems #\r\n# service sshd stop\r\nor\r\n# \/etc\/init.d\/sshd stop\r\n\r\n# For Systemd Systems #\r\n# systemctl stop sshd.service\r\nor\r\n# systemctl stop sshd\r\nor\r\n# \/bin\/systemctl stop sshd.service<\/pre>\n<\/div>\n<h3><strong>3) To Restart OpenSSH service<\/strong><\/h3>\n<p>Use the below commands to restart the OpenSSH server in Linux.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \"># For Sysvinit Systems #\r\n# service sshd restart\r\nor\r\n# \/etc\/init.d\/sshd restart\r\n\r\n# For Systemd Systems #\r\n# systemctl restart sshd.service\r\nor\r\n# systemctl restart sshd\r\nor\r\n# \/bin\/systemctl restart sshd.service<\/pre>\n<\/div>\n<h3><strong>4) To Reload OpenSSH service<\/strong><\/h3>\n<p>Use the below commands to reload the OpenSSH server in Linux.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \"># For Sysvinit Systems #\r\n# service sshd reload\r\nor\r\n# \/etc\/init.d\/sshd reload\r\n\r\n# For Systemd Systems #\r\n# systemctl reload sshd.service\r\nor\r\n# systemctl reload sshd\r\nor\r\n# \/bin\/systemctl reload sshd.service<\/pre>\n<\/div>\n<h3><strong>5) To view status of OpenSSH service<\/strong><\/h3>\n<p>Use the below commands to view the status of OpenSSH server in Linux.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \"># For Sysvinit Systems #\r\n# service sshd status\r\nor\r\n# \/etc\/init.d\/sshd status\r\n\r\n# For Systemd Systems #\r\n# systemctl status sshd.service\r\nor\r\n# systemctl status sshd\r\nor\r\n# \/bin\/systemctl status sshd.service<\/pre>\n<\/div>\n<h3><strong>6) To Enable OpenSSH server in boot<\/strong><\/h3>\n<p>Use the below commands to enable the OpenSSH service in boot.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \"># For Sysvinit Systems #\r\n# chkconfig sshd on\r\n\r\n# For Systemd Systems #\r\n# systemctl enable sshd.service\r\nor\r\n# systemctl enable sshd\r\nor\r\n# \/bin\/systemctl enable sshd.service<\/pre>\n<\/div>\n<p>That\u2019all to do.You also like to know<a href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-install-or-update-openssh-server-on-ubuntu\/\"> how to install or update OpenSSH server on Ubuntu,<\/a>Do check that.<\/p>\n<p>Please\u00a0Give your opinion below if you experience any issues or to discuss your ideas and experiences.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to start, stop, restart, enable, reload &amp; check the status of the service follow the below commands to do it. Either root or sudo Authorization required to run the below commands. All the services is available \u201c\/etc\/init.d\/. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4989","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux - cPanel Plesk<\/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:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"If you want to start, stop, restart, enable, reload &amp; check the status of the service follow the below commands to do it. Either root or sudo Authorization required to run the below commands. All the services is available \u201c\/etc\/init.d\/. [...]Continue Reading...\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Farooq Omer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/\"},\"author\":{\"name\":\"Farooq Omer\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"headline\":\"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux\",\"datePublished\":\"2016-08-18T03:35:16+00:00\",\"dateModified\":\"2021-02-04T04:48:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/\"},\"wordCount\":188,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"articleSection\":[\"Cpanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/\",\"name\":\"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"datePublished\":\"2016-08-18T03:35:16+00:00\",\"dateModified\":\"2021-02-04T04:48:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/fokado\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux - cPanel Plesk","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:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/","twitter_card":"summary_large_image","twitter_title":"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux - cPanel Plesk","twitter_description":"If you want to start, stop, restart, enable, reload &amp; check the status of the service follow the below commands to do it. Either root or sudo Authorization required to run the below commands. All the services is available \u201c\/etc\/init.d\/. [...]Continue Reading...","twitter_misc":{"Written by":"Farooq Omer","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/"},"author":{"name":"Farooq Omer","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"headline":"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux","datePublished":"2016-08-18T03:35:16+00:00","dateModified":"2021-02-04T04:48:07+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/"},"wordCount":188,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"articleSection":["Cpanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/","url":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/","name":"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"datePublished":"2016-08-18T03:35:16+00:00","dateModified":"2021-02-04T04:48:07+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/start-stop-restart-enable-reload-openssh-server-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to start \/ stop \/ restart \/ enable \/ reload the OpenSSH server in Linux"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"},"url":"https:\/\/cpanelplesk.com\/wp62\/author\/fokado\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/4989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=4989"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/4989\/revisions"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=4989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=4989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=4989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}