{"id":671,"date":"2023-05-03T07:34:00","date_gmt":"2023-05-03T07:34:00","guid":{"rendered":"https:\/\/www.dedicatedcore.com\/blog\/?p=671"},"modified":"2024-11-27T10:05:28","modified_gmt":"2024-11-27T10:05:28","slug":"enable-ssh-ubuntu","status":"publish","type":"post","link":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/","title":{"rendered":"How to Enable SSH on Ubuntu 20.04 | 22.04"},"content":{"rendered":"<p>A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device.<\/p>\n<p>We will walk you through the process of enabling SSH on Ubuntu. On your Ubuntu system in this blog post to ensure a quick and secure connection. Security is the main priority while establishing a remote connection between a client and a server.<\/p>\n<p>The most effective method for Linux users to access and manage a server is using Secure Shell (SSH). a cryptographic protocol. SSH encrypts all information passed from one machine to another. Ensuring that no private data is compromised. You may securely run a command line, send files, secure network services, and much more as a desktop client. You will be able to learn how to enable SSH on Ubuntu. With the capability to execute <a href=\"https:\/\/www.dedicatedcore.com\/blog\/ssh-into-docker-container\/\" target=\"_blank\" rel=\"noopener\">commands on a remote server<\/a> SSH access into Docker containers is beneficial.<\/p>\n<h2>Activate SSH in Ubuntu<\/h2>\n<p>On some Ubuntu versions, the SSH server is not installed by default. Follow these steps to install SSH Ubuntu and enable SSH on Ubuntu:<\/p>\n<h3>Step 1: Launch the Terminal<\/h3>\n<p>Launch the terminal by pressing CTRL+ALT+T on the keyboard or by searching for the Terminal Icon in Ubuntu Dash.<\/p>\n<h3>Step 2: Command to Check if it has Already Installed<\/h3>\n<p>Use the SSH command listed below to see if an SSH server has already been installed on your computer before beginning the installation process:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">ssh localhost<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-672\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-localhost-connection-refused-command.png\" alt=\"ssh localhost command to display output\" width=\"800\" height=\"150\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-localhost-connection-refused-command.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-localhost-connection-refused-command-300x56.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-localhost-connection-refused-command-150x28.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-localhost-connection-refused-command-768x144.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-localhost-connection-refused-command-100x19.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-localhost-connection-refused-command-700x131.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>You must go through the SSH installation process if you receive the SSH &#8220;Connection Refused&#8221; warning.<\/p>\n<h3>Step 3: Update Package Lists on your Linux System<\/h3>\n<p>Update the package repository cache first before installing SSH with:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo apt-get update<\/pre>\n<h3>Step 4: Here Complete the OpenSSH Installation<\/h3>\n<p>Complete the OpenSSH software installation by typing:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo apt-get install openssh-server<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-673\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/install-openssh-software-sudo-command.png\" alt=\"sudo apt command to install openssh-server terminal output\" width=\"800\" height=\"370\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/install-openssh-software-sudo-command.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/install-openssh-software-sudo-command-300x139.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/install-openssh-software-sudo-command-150x69.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/install-openssh-software-sudo-command-768x355.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/install-openssh-software-sudo-command-100x46.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/install-openssh-software-sudo-command-700x324.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>To approve the installation, enter your password when prompted and press Y (yes).<\/p>\n<h3>Step 5:\u00a0 Verify Installation<\/h3>\n<p>Use the command: to confirm that SSH is operational and that the installation was successful.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo service ssh status<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-674\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-service-ssh-status-verify-installation.png\" alt=\"use command sudo service ssh status to verify installation\" width=\"800\" height=\"461\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-service-ssh-status-verify-installation.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-service-ssh-status-verify-installation-300x173.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-service-ssh-status-verify-installation-150x86.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-service-ssh-status-verify-installation-768x443.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-service-ssh-status-verify-installation-100x58.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-service-ssh-status-verify-installation-700x403.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>You are looking for the following confirmation message: Active: active (running). As a result, your remote machine can now take commands from your SSH client after you installed and activated SSH on it.<\/p>\n<h3>Step 6. Type q to get back to the Command Line Prompt.<\/h3>\n<h3>SSH is used to Access a Remote Server:<\/h3>\n<p>You can now log into your remote workstation after completing the steps to enable SSH on Ubuntu.<\/p>\n<p>1. Start a terminal by pressing CTRL+ALT+T, then enter the following command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">ssh username@public_IP -p22<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-675\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-username-command-login-server.png\" alt=\"ssh username command log into server\" width=\"800\" height=\"270\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-username-command-login-server.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-username-command-login-server-300x101.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-username-command-login-server-150x51.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-username-command-login-server-768x259.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-username-command-login-server-100x34.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ssh-username-command-login-server-700x236.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The username and IP address should be changed to those of the Ubuntu PC where SSH has been installed.<\/p>\n<p>2. By entering the command: in the terminal, you can rapidly determine the IP address if you don&#8217;t know it.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">ip a<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-676\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ip-terminal-output.png\" alt=\"ip a terminal output\" width=\"800\" height=\"409\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ip-terminal-output.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ip-terminal-output-300x153.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ip-terminal-output-150x77.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ip-terminal-output-768x393.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ip-terminal-output-100x51.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/ip-terminal-output-700x358.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>This shows the computer&#8217;s public IP address where SSH was set up. You are formally logged into the server once you have recognized and entered all the information. You are permitted to safely control it from the convenience of your desk.<\/p>\n<h4>Options for SSH Configuration<\/h4>\n<p>It is possible to change the default SSH configuration settings. You can disable the root user, change the default port (usually a good idea as a preventive security step), or make other configuration changes.<\/p>\n<h4>Configuration File Editing<\/h4>\n<p>Once OpenSSH has been properly installed on Ubuntu, you can change its configuration file.<\/p>\n<p>1. Use the following command to view the SSH configuration file:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo nano \/etc\/ssh\/sshd_config<\/pre>\n<p>2. After opening the file in Nano (or any other Linux text editor), discover the necessary changes and make them.<\/p>\n<p>For instance, locate the line in which TCP port 22 is by default provided, uncomment the line, and replace it with TCP port 2222 to modify the port number to listen on TCP port 2222 rather than TCP port 22.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-677\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-nano-port-2222-sshd-config.png\" alt=\"port 2222 sshd config file contents\" width=\"800\" height=\"430\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-nano-port-2222-sshd-config.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-nano-port-2222-sshd-config-300x161.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-nano-port-2222-sshd-config-150x81.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-nano-port-2222-sshd-config-768x413.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-nano-port-2222-sshd-config-100x54.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/sudo-nano-port-2222-sshd-config-700x376.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<h4>Turn off Root<\/h4>\n<p>Disabling remote root access is a crucial security measure. In this manner, security will be greatly enhanced and the root user cannot be remotely activated.<\/p>\n<p>1. Locate the line that says PermitRootLogin_yes in the settings file and modify it to PermitRootLogin_no.<\/p>\n<p>2. Use the subsequent command to restart the SSH service for the modifications to take effect:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo systemctl restart sshd.service<\/pre>\n<h4>Create a Firewall<\/h4>\n<p>If you have chosen to alter the default port, you must set up your firewall to permit traffic through the chosen port. Let&#8217;s use Port 2222 as an example. UFW, Ubuntu&#8217;s built-in firewall configuration tool, can be set up using the following command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo ufw allow from any to any port 2222 proto tcp<\/pre>\n<p>Some firewalls could demand that traffic be allowed to the SSH server&#8217;s public IP address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-678\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/firewall-port-2222-rule-update-terminal-output.png\" alt=\"firewall port 2222 allow rule update terminal output\" width=\"800\" height=\"156\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/firewall-port-2222-rule-update-terminal-output.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/firewall-port-2222-rule-update-terminal-output-300x59.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/firewall-port-2222-rule-update-terminal-output-150x29.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/firewall-port-2222-rule-update-terminal-output-768x150.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/firewall-port-2222-rule-update-terminal-output-100x20.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/firewall-port-2222-rule-update-terminal-output-700x137.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<h4>On Ubuntu, How to Disable SSH<\/h4>\n<p>Run: to momentarily disable SSH on Ubuntu.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo service ssh stop<\/pre>\n<p>Launch the SSH service by:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo service ssh start<\/pre>\n<p>Following a Reboot, completely Disable SSH by:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo systemctl disable ssh<\/pre>\n<p>After restarting Ubuntu, Enable SSH by using:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo systemctl enable ssh<\/pre>\n<h3>Wrapping Up with Enabling SSH on Ubuntu<\/h3>\n<p>Users can securely control their computers from a distance by enabling SSH on Ubuntu. You&#8217;ve successfully configured SSH access on your Ubuntu machine. By following the simple instructions provided in this guide you will understand how to enable ssh ubuntu. Always put security first by creating secure passwords. Avoid utilizing password-based authentication whenever you can. Maintaining the most recent versions of your system and SSH settings. For a detailed guide on using Rsync over SSH for efficient and secure file transfers, check out this <a href=\"https:\/\/www.dedicatedcore.com\/blog\/transfer-files-rsync-over-ssh\/\" target=\"_blank\" rel=\"noopener\">step-by-step tutorial.<\/a> It covers everything you need to know to get started with Rsync and SSH.<\/p>\n<p>Now that SSH is operational, you can securely access your Ubuntu system from a distance. You may now activate SSH on Ubuntu by following the straightforward instructions above. You can now establish a trustworthy and secure protocol with a distant device. To begin, log on to your computer and use the command prompt to execute administrative chores.<\/p>\n<h3>Frequently Asked Questions (FAQ)<\/h3>\n<p><strong>1. How do I Enable SSH on Ubuntu?<\/strong><\/p>\n<p>To enable SSH on Ubuntu you should follow the given steps:<\/p>\n<p>a. Install SSH server using<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo apt update &amp;&amp; sudo apt install openssh-server<\/pre>\n<p>b. Enable the service<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo systemctl enable ssh<\/pre>\n<p>c. Start the Service<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo systemctl start ssh<\/pre>\n<p><strong>2. What Port does SSH use by Default, and Can I Change It?<\/strong><\/p>\n<p>SSH uses port 22 by default. Transforming the port directive <strong>\/etc\/ssh\/sshd_config\u00a0<\/strong>you can change it and restart the SSH service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for&#8230;<\/p>\n","protected":false},"author":1,"featured_media":782,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"DC Team\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"DedicatedCore Blog - Great platform to start your startup journey\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Enable SSH on Ubuntu 20.04 | 22.04\" \/>\n\t\t<meta property=\"og:description\" content=\"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-05-03T07:34:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-11-27T10:05:28+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Enable SSH on Ubuntu 20.04 | 22.04\" \/>\n\t\t<meta name=\"twitter:description\" content=\"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#blogposting\",\"name\":\"How to Enable SSH on Ubuntu 20.04 | 22.04\",\"headline\":\"How to Enable SSH on Ubuntu 20.04 | 22.04\",\"author\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/author\\\/iseenlab\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/wp-content\\\/uploads\\\/enable-ssh-on-ubuntu.png\",\"width\":750,\"height\":380},\"datePublished\":\"2023-05-03T07:34:00+00:00\",\"dateModified\":\"2024-11-27T10:05:28+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#webpage\"},\"articleSection\":\"Uncategorized\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/c\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/c\\\/uncategorized\\\/#listItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/c\\\/uncategorized\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#listItem\",\"name\":\"How to Enable SSH on Ubuntu 20.04 | 22.04\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#listItem\",\"position\":3,\"name\":\"How to Enable SSH on Ubuntu 20.04 | 22.04\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/c\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/#organization\",\"name\":\"DedicatedCore\",\"description\":\"Great platform to start your startup journey\",\"url\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/\",\"telephone\":\"+919112444404\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/author\\\/iseenlab\\\/#author\",\"url\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/author\\\/iseenlab\\\/\",\"name\":\"DC Team\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b10cf0351b12192a46d71dedb93fe77b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"DC Team\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#webpage\",\"url\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/\",\"name\":\"How to Enable SSH on Ubuntu 20.04 | 22.04\",\"description\":\"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/author\\\/iseenlab\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/author\\\/iseenlab\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/wp-content\\\/uploads\\\/enable-ssh-on-ubuntu.png\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#mainImage\",\"width\":750,\"height\":380},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/enable-ssh-ubuntu\\\/#mainImage\"},\"datePublished\":\"2023-05-03T07:34:00+00:00\",\"dateModified\":\"2024-11-27T10:05:28+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/\",\"name\":\"DedicatedCore Blog\",\"description\":\"Great platform to start your startup journey\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dedicatedcore.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Enable SSH on Ubuntu 20.04 | 22.04","description":"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will","canonical_url":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#blogposting","name":"How to Enable SSH on Ubuntu 20.04 | 22.04","headline":"How to Enable SSH on Ubuntu 20.04 | 22.04","author":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/author\/iseenlab\/#author"},"publisher":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/enable-ssh-on-ubuntu.png","width":750,"height":380},"datePublished":"2023-05-03T07:34:00+00:00","dateModified":"2024-11-27T10:05:28+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#webpage"},"isPartOf":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#webpage"},"articleSection":"Uncategorized"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.dedicatedcore.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.dedicatedcore.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.dedicatedcore.com\/blog\/c\/uncategorized\/#listItem","name":"Uncategorized"}},{"@type":"ListItem","@id":"https:\/\/www.dedicatedcore.com\/blog\/c\/uncategorized\/#listItem","position":2,"name":"Uncategorized","item":"https:\/\/www.dedicatedcore.com\/blog\/c\/uncategorized\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#listItem","name":"How to Enable SSH on Ubuntu 20.04 | 22.04"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.dedicatedcore.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#listItem","position":3,"name":"How to Enable SSH on Ubuntu 20.04 | 22.04","previousItem":{"@type":"ListItem","@id":"https:\/\/www.dedicatedcore.com\/blog\/c\/uncategorized\/#listItem","name":"Uncategorized"}}]},{"@type":"Organization","@id":"https:\/\/www.dedicatedcore.com\/blog\/#organization","name":"DedicatedCore","description":"Great platform to start your startup journey","url":"https:\/\/www.dedicatedcore.com\/blog\/","telephone":"+919112444404"},{"@type":"Person","@id":"https:\/\/www.dedicatedcore.com\/blog\/author\/iseenlab\/#author","url":"https:\/\/www.dedicatedcore.com\/blog\/author\/iseenlab\/","name":"DC Team","image":{"@type":"ImageObject","@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b10cf0351b12192a46d71dedb93fe77b?s=96&d=mm&r=g","width":96,"height":96,"caption":"DC Team"}},{"@type":"WebPage","@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#webpage","url":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/","name":"How to Enable SSH on Ubuntu 20.04 | 22.04","description":"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#breadcrumblist"},"author":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/author\/iseenlab\/#author"},"creator":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/author\/iseenlab\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/enable-ssh-on-ubuntu.png","@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#mainImage","width":750,"height":380},"primaryImageOfPage":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/#mainImage"},"datePublished":"2023-05-03T07:34:00+00:00","dateModified":"2024-11-27T10:05:28+00:00"},{"@type":"WebSite","@id":"https:\/\/www.dedicatedcore.com\/blog\/#website","url":"https:\/\/www.dedicatedcore.com\/blog\/","name":"DedicatedCore Blog","description":"Great platform to start your startup journey","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.dedicatedcore.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"DedicatedCore Blog - Great platform to start your startup journey","og:type":"article","og:title":"How to Enable SSH on Ubuntu 20.04 | 22.04","og:description":"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will","og:url":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/","article:published_time":"2023-05-03T07:34:00+00:00","article:modified_time":"2024-11-27T10:05:28+00:00","twitter:card":"summary_large_image","twitter:title":"How to Enable SSH on Ubuntu 20.04 | 22.04","twitter:description":"A critical first step for granting remote access to your machine on Ubuntu is to enable SSH (Secure Shell). SSH is a crucial tool for system administrators, developers, and users. Who needs remote control and file transfers since it offers a safe? Secure means to connect to your Ubuntu machine from another device. We will"},"aioseo_meta_data":{"post_id":"671","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2023-10-27 04:02:02","updated":"2026-08-13 16:02:02","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.dedicatedcore.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.dedicatedcore.com\/blog\/c\/uncategorized\/\" title=\"Uncategorized\">Uncategorized<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Enable SSH on Ubuntu 20.04 | 22.04\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.dedicatedcore.com\/blog"},{"label":"Uncategorized","link":"https:\/\/www.dedicatedcore.com\/blog\/c\/uncategorized\/"},{"label":"How to Enable SSH on Ubuntu 20.04 | 22.04","link":"https:\/\/www.dedicatedcore.com\/blog\/enable-ssh-ubuntu\/"}],"_links":{"self":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/671"}],"collection":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":17,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":2586,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/671\/revisions\/2586"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/media\/782"}],"wp:attachment":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}