{"id":2582,"date":"2021-11-04T15:49:36","date_gmt":"2021-11-04T13:49:36","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=2582"},"modified":"2024-02-06T11:34:50","modified_gmt":"2024-02-06T09:34:50","slug":"how-to-restart-a-vps-with-putty","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-restart-a-vps-with-putty\/","title":{"rendered":"How to Restart a VPS with PuTTy?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">VPS management is one of the fears that many webmasters face when deciding to opt-in for a virtual server for the first time. Especially if the user has no previous experience in that field.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Users who don&#8217;t want to spend any time with technicalities can easily go for a <\/span><a href=\"https:\/\/www.scalahosting.com\/managed-cloud-hosting.html\"><b>managed VPS plan<\/b><\/a><span style=\"font-weight: 400;\">, but it&#8217;s best you know all the basics if your project requires a more hands-on approach.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In our series of <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/hosting\/vps-hosting\/\"><b>ScalaHosting VPS guides<\/b><\/a><span style=\"font-weight: 400;\">, we are showing some of the essential commands and functionalities that go with your server management duties.\u00a0<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">Our topic today is <\/span><\/i><b><i>rebooting a VPS<\/i><\/b><i><span style=\"font-weight: 400;\"> &#8211; why do we need it and how to do it on different types of servers?<\/span><\/i><\/p>\n<h2><b>Why do I need to restart my VPS?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">We have all operated a computer at some point and probably had to reset it when it turned up too bloated or unresponsive. Restarting a VPS is pretty much the same thing. It&#8217;s not something you will often do, but definitely one of the key things to know for various reasons:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Testing the Reboot function<\/b><span style=\"font-weight: 400;\"> &#8211; when <\/span><b>managing your own VPS or dedicated server<\/b><span style=\"font-weight: 400;\">, you should always test even your most basic functionalities. One of the first things to check is the <\/span><b>Restart command<\/b><span style=\"font-weight: 400;\">. Running a simple reboot, even on a freshly configured server, is always a good idea for any type of project.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Replacing hardware<\/b><span style=\"font-weight: 400;\"> &#8211; if you are dealing with a <\/span><a href=\"https:\/\/www.scalahosting.com\/cloud-vps-hosting.html\"><b>self-managed VPS service<\/b><\/a><span style=\"font-weight: 400;\">, all server maintenance tasks are your responsibility. One of them is monitoring and replacing your hardware before it causes any serious damage. Any such major alteration requires a server reboot for the machine to find and recognize the new hardware.\u00a0\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Updating software components<\/b><span style=\"font-weight: 400;\"> &#8211; popular software solutions in active development often receive updates, which often add new functionalities, fix security vulnerabilities, and improves the overall user experience. Applying patches and updates as soon as they are in stable release is quite important if you want to <\/span><b>keep your entire hosting environment <\/b><a href=\"https:\/\/www.scalahosting.com\/blog\/cloud-hosting-secure\/\"><b>safe and secure<\/b><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Just like on your personal computer and laptop, all those changes require a restart. We will now learn how that works on a VPS.<\/span><\/p>\n<h2><b>What is PuTTy?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">PuTTy is a<\/span><b> free and open-source <span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;emulator&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:636,&quot;5&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;6&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;7&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;8&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;9&quot;:0,&quot;12&quot;:0}\">emulator<\/span> that server the role of a terminal console for remote computer and server access<\/b><span style=\"font-weight: 400;\">. One of the oldest SSH client solutions, PuTTy, was first released back in <\/span><b>1999 <\/b><span style=\"font-weight: 400;\">and has quickly grown to a versatile, multicomponent solution for those that don&#8217;t necessarily need a graphical environment when executing server commands.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">PuTTy is the favorite SSH client for hundreds of thousands of developers and webmasters, and for a good reason too. The solution offers <\/span><b>effortless session management<\/b><span style=\"font-weight: 400;\">, <\/span><b>remote VPS connection<\/b><span style=\"font-weight: 400;\">, and <\/span><b>support for a variety of operating systems<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2><b>How do I restart a Linux VPS with PuTTy?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Most web hosting providers offer Linux server solutions for VPS clients as they are more versatile, feature-packed, and quite affordable. Regardless of the Linux instance we have chosen to power our project, rebooting our server via PuTTy includes a few simple steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Install <\/b><span style=\"font-weight: 400;\">and <\/span><b>configure PuTTy<\/b><span style=\"font-weight: 400;\"> on your computer.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Log in<\/b><span style=\"font-weight: 400;\"> to the server with the <\/span><b>root credentials<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Run the command <\/span><b>Reboot<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">This will restart your VPS server and disconnect you from the root account. For any further changes, you will have to log back in.<\/span><\/p>\n<p><b><i>IMPORTANT:<\/i><\/b><i><span style=\"font-weight: 400;\"> If you are logged in with super-user privileges, the proper command would be \u2018sudo reboot\u2019.<\/span><\/i><\/p>\n<h2><b>How do I restart a Windows VPS with PuTTy?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Rebooting a Windows VPS via a <\/span><b>command prompt<\/b><span style=\"font-weight: 400;\"> like PuTTy highly resembles the same process on <\/span><b>Linux-based machines<\/b><span style=\"font-weight: 400;\">. The steps are:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Configure <\/b><span style=\"font-weight: 400;\">your PuTTy client<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Log in <\/b><span style=\"font-weight: 400;\">as administrator.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Run the <\/span><b>restart <\/b><span style=\"font-weight: 400;\">command. You can use:<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">shutdown -r<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This tells the VPS server to reboot instead of simply shut down.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">That is all there is to it! Now that you know how to restart Linux and Windows servers, you can go ahead and test the feature on your own VPS.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><a href=\"https:\/\/www.scalahosting.com\/contact-us.html\"><b>ScalaHosting Support Team<\/b><\/a><span style=\"font-weight: 400;\"> is 24\/7 available if you need more assistance with PuTTy.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VPS management is one of the fears that many webmasters face when deciding to opt-in for a virtual server for the first time. Especially if the user has no previous experience in that field.\u00a0 Users who don&#8217;t want to spend any time with technicalities can easily go for a managed VPS plan, but it&#8217;s best [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[27],"tags":[],"class_list":["post-2582","post","type-post","status-publish","format-standard","hentry","category-vps-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=2582"}],"version-history":[{"count":6,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2582\/revisions"}],"predecessor-version":[{"id":5704,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2582\/revisions\/5704"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=2582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=2582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=2582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}