{"id":1822,"date":"2021-05-20T11:55:53","date_gmt":"2021-05-20T08:55:53","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=1822"},"modified":"2023-03-14T12:02:29","modified_gmt":"2023-03-14T10:02:29","slug":"ssh-access","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/ssh-access\/","title":{"rendered":"SSH Access"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Most server owners rely on SSH access to remotely access their machines and execute commands. It gives them full control over their servers and helps them manage their projects.<\/span><\/p>\n\n\n\n<p><b>But what is SSH exactly?<\/b><span style=\"font-weight: 400;\"> How do you enable it for your hosting account? And how can you access your remote servers securely using it?&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">This article guides you on everything you\u2019d need to know on SSH Access.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Let\u2019s take a look.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>What Is SSH Access?<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">SSH, also known as secured shell, is a communication protocol that <\/span><b>allows two computers to communicate securely<\/b><span style=\"font-weight: 400;\"> over an open network, such as the internet.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Unlike other similar protocols, SSH uses end-to-end encryption to ensure that the communication is protected from eavesdropping.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">It supports password- and key-based authentication, and behind the scenes, it uses complex encryption mechanisms to guarantee that the connection is secure.<br><\/span><\/p>\n\n\n\n<p><b>SSH helps server owners:<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Manage, control and modify systems and applications remotely<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Run commands managing files, folders, and databases<br><\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Create secured tunnels for other application protocols and run sessions remotely<\/span><\/li>\n<\/ul>\n\n\n\n<p><span style=\"font-weight: 400;\">Secure Shell refers to both<\/span><b> the cryptographic network protocol<\/b><span style=\"font-weight: 400;\"> and the suite of utilities that implement the protocol.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">And <\/span><b>how would you enable this protocol for hosting accounts?<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Let\u2019s take a look.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>How to Enable SSH Access<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">ScalaHosting;s customers can use SSH by default on their shared hosting accounts. Self-managed VPS owners get full root access to manage their servers, and if you use a Managed SPanel VPS, you can choose which accounts are allowed to open a secure shell. Here&#8217;s how to do it.<br><\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Log in to your <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/getting-started-with-spanel\/\"><b>SPanel<\/b><\/a><b> Admin Interface<\/b><span style=\"font-weight: 400;\">. This is where you manage all SPanel user accounts.<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"453\" height=\"456\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png\" alt=\"SSH Access, How to Enable SSH Access\" class=\"wp-image-2898\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png 453w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-298x300.png 298w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-150x150.png 150w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">SPanel redirects you to the control panel dashboard after a successful login.&nbsp;<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"523\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/306-1024x523.png\" alt=\"SSH Access, How to Enable SSH Access 2\" class=\"wp-image-3861\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/306-1024x523.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/306-300x153.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/306-768x392.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/306-1536x785.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/306.png 1908w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Click \u2018Manage SSH Access\u2019 under Account Management from the navigation bar.<br><\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"317\" height=\"202\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/307.png\" alt=\"SSH Access, How to Enable SSH Access 3\" class=\"wp-image-3862\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/307.png 317w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/307-300x191.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">On the next page, locate the account you want to modify and use the toggle switch to enable SSH access.<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1061\" height=\"237\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image6-18.png\" alt=\"SSH Access, How to Enable SSH Access 4\" class=\"wp-image-1824\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image6-18.png 1061w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image6-18-300x67.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image6-18-1024x229.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image6-18-768x172.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">That\u2019s it \u2014 <\/span><a href=\"https:\/\/www.scalahosting.com\/spanel.html\"><b>SPanel<\/b><\/a><span style=\"font-weight: 400;\"> takes care of the rest.<\/span><\/p>\n\n\n\n<p><b>Note:<\/b><span style=\"font-weight: 400;\"> Use SSH port 6543 or the port SPanel shows on your dashboard to establish an SSH connection and authenticate your account\u2019s username and password.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">And how do you establish an SSH connection to your remote server?<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Here\u2019s how.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>How to Connect to Your Server Via SSH<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">With SSH access enabled, you can log into your server and manage your account.<br><\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Here&#8217;s what you need to do.<br><\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Windows<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Windows now supports SSH access via its built-in command shells &#8211; PowerShell and Command Prompt. If you decide to use them, you can establish an SSH connection with the following command.<\/span><\/p>\n\n\n\n<p><em><strong>ssh [your username]@[your domain name]<\/strong><\/em><\/p>\n\n\n\n<p>If you&#8217;re using one of our <a href=\"https:\/\/www.scalahosting.com\/managed-cloud-hosting.html\">managed VPS<\/a> solutions, you&#8217;ll need to add <em><strong>-p6543 <\/strong><\/em>to the command to ensure the correct port is used.<\/p>\n\n\n\n<p>The server will ask for your password, and after you provide it, it will open the SSH session.<\/p>\n\n\n\n<p>An alternative is to use a dedicated SSH client like PuTTY. After you install and run it, you&#8217;ll see the following screen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"443\" height=\"435\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image3-24.png\" alt=\"SSH Access, Windows\" class=\"wp-image-1830\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image3-24.png 443w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image3-24-300x295.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">You need to make sure you enter the right information in the hostname and port fields before clicking <strong>Open.<\/strong><br><\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">PuTTY will ask your for your SPanel account&#8217;s login credentials before opening an SSH session.<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"643\" height=\"405\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image8-9.png\" alt=\"SSH Access, Windows 2\" class=\"wp-image-1826\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image8-9.png 643w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/05\/image8-9-300x189.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><b>Linux and macOS<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Linux and macOS also support SSH out of the box.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">To open a secure shell, launch the Terminal and enter the following command.<br><\/span><\/p>\n\n\n\n<p><em><strong>ssh [your username]@[your domain]<br><\/strong><\/em><\/p>\n\n\n\n<p>If you&#8217;re using an SPanel VPS, make sure you add <em><strong>-p6543<\/strong><\/em> to the command to ensure you use the correct port.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most server owners rely on SSH access to remotely access their machines and execute commands. It gives them full control over their servers and helps them manage their projects. But what is SSH exactly? How do you enable it for your hosting account? And how can you access your remote servers securely using it?&nbsp; This [&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":[40],"tags":[],"class_list":["post-1822","post","type-post","status-publish","format-standard","hentry","category-security"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1822","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=1822"}],"version-history":[{"count":5,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1822\/revisions"}],"predecessor-version":[{"id":5459,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1822\/revisions\/5459"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=1822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=1822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=1822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}