{"id":504638,"date":"2025-06-29T20:21:03","date_gmt":"2025-06-29T18:21:03","guid":{"rendered":"https:\/\/hexabyte.se\/?post_type=kb&#038;p=504638"},"modified":"2025-06-30T08:25:46","modified_gmt":"2025-06-30T06:25:46","slug":"install-ssh-server-debian","status":"publish","type":"kb","link":"https:\/\/hexabyte.se\/en\/kb\/install-ssh-server-debian\/","title":{"rendered":"Install SSH server on Debian"},"content":{"rendered":"<p>Debian doesn&#039;t come with an SSH server pre-installed like Ubuntu does, but it&#039;s easy to install yourself.<\/p>\n\n\n\n<p><strong>1. Connect to the server via the console tab in the cloud platform.<\/strong> Log in with the username and password that were specified when setting up the server.<\/p>\n\n\n\n<p><strong>2. Install, start and enable SSH server<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install openssh server\nsudo systemctl start ssh\nsudo systemctl enable ssh<\/code><\/pre>\n\n\n\n<p><strong>Done<\/strong> \u2013 Now connect to your server via SSH.<\/p>\n\n\n\n<p>Please note that if the firewall is active, a rule that allows incoming SSH connections needs to be added. Read more about <a href=\"https:\/\/hexabyte.se\/en\/kb\/firewall\/\">how our firewalls work<\/a>.<\/p>","protected":false},"parent":0,"menu_order":0,"template":"","class_list":["post-504638","kb","type-kb","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installera SSH-server p\u00e5 Debian<\/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:\/\/hexabyte.se\/en\/kb\/install-ssh-server-debian\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installera SSH-server p\u00e5 Debian\" \/>\n<meta property=\"og:description\" content=\"Debian kommer inte med en SSH-server f\u00f6rinstallerad som t.ex. Ubuntu g\u00f6r. Men det \u00e4r enkelt att installera sj\u00e4lv. 1. Anslut till servern via konsol-fliken i cloudplattformen. Logga in med anv\u00e4ndarnamn och l\u00f6senord som angavs vid upps\u00e4ttningen av servern. 2. Installera, starta och enable SSH-server F\u00e4rdigt &#8211; Anslut nu till din server via SSH. Observera att [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hexabyte.se\/en\/kb\/install-ssh-server-debian\/\" \/>\n<meta property=\"og:site_name\" content=\"Hexabyte\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-30T06:25:46+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hexabyte.se\\\/kb\\\/install-ssh-server-debian\\\/\",\"url\":\"https:\\\/\\\/hexabyte.se\\\/kb\\\/install-ssh-server-debian\\\/\",\"name\":\"Installera SSH-server p\u00e5 Debian\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hexabyte.se\\\/#website\"},\"datePublished\":\"2025-06-29T18:21:03+00:00\",\"dateModified\":\"2025-06-30T06:25:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hexabyte.se\\\/kb\\\/install-ssh-server-debian\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hexabyte.se\\\/kb\\\/install-ssh-server-debian\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hexabyte.se\\\/kb\\\/install-ssh-server-debian\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hem\",\"item\":\"https:\\\/\\\/hexabyte.se\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kunskapsbank\",\"item\":\"https:\\\/\\\/hexabyte.se\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Installera SSH-server p\u00e5 Debian\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hexabyte.se\\\/#website\",\"url\":\"https:\\\/\\\/hexabyte.se\\\/\",\"name\":\"Hexabyte\",\"description\":\"Serverl\u00f6sningar\",\"publisher\":{\"@id\":\"https:\\\/\\\/hexabyte.se\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hexabyte.se\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hexabyte.se\\\/#organization\",\"name\":\"Hexabyte AB\",\"url\":\"https:\\\/\\\/hexabyte.se\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hexabyte.se\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hexabyte.se\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/hexabyte-clear.svg\",\"contentUrl\":\"https:\\\/\\\/hexabyte.se\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/hexabyte-clear.svg\",\"width\":318,\"height\":57,\"caption\":\"Hexabyte AB\"},\"image\":{\"@id\":\"https:\\\/\\\/hexabyte.se\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install SSH server on Debian","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:\/\/hexabyte.se\/en\/kb\/install-ssh-server-debian\/","og_locale":"en_US","og_type":"article","og_title":"Installera SSH-server p\u00e5 Debian","og_description":"Debian kommer inte med en SSH-server f\u00f6rinstallerad som t.ex. Ubuntu g\u00f6r. Men det \u00e4r enkelt att installera sj\u00e4lv. 1. Anslut till servern via konsol-fliken i cloudplattformen. Logga in med anv\u00e4ndarnamn och l\u00f6senord som angavs vid upps\u00e4ttningen av servern. 2. Installera, starta och enable SSH-server F\u00e4rdigt &#8211; Anslut nu till din server via SSH. Observera att [&hellip;]","og_url":"https:\/\/hexabyte.se\/en\/kb\/install-ssh-server-debian\/","og_site_name":"Hexabyte","article_modified_time":"2025-06-30T06:25:46+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hexabyte.se\/kb\/install-ssh-server-debian\/","url":"https:\/\/hexabyte.se\/kb\/install-ssh-server-debian\/","name":"Install SSH server on Debian","isPartOf":{"@id":"https:\/\/hexabyte.se\/#website"},"datePublished":"2025-06-29T18:21:03+00:00","dateModified":"2025-06-30T06:25:46+00:00","breadcrumb":{"@id":"https:\/\/hexabyte.se\/kb\/install-ssh-server-debian\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hexabyte.se\/kb\/install-ssh-server-debian\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hexabyte.se\/kb\/install-ssh-server-debian\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hem","item":"https:\/\/hexabyte.se\/"},{"@type":"ListItem","position":2,"name":"Kunskapsbank","item":"https:\/\/hexabyte.se\/kb\/"},{"@type":"ListItem","position":3,"name":"Installera SSH-server p\u00e5 Debian"}]},{"@type":"WebSite","@id":"https:\/\/hexabyte.se\/#website","url":"https:\/\/hexabyte.se\/","name":"Hexabytes","description":"Server solutions","publisher":{"@id":"https:\/\/hexabyte.se\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hexabyte.se\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hexabyte.se\/#organization","name":"Hexabyte AB","url":"https:\/\/hexabyte.se\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hexabyte.se\/#\/schema\/logo\/image\/","url":"https:\/\/hexabyte.se\/wp-content\/uploads\/2023\/12\/hexabyte-clear.svg","contentUrl":"https:\/\/hexabyte.se\/wp-content\/uploads\/2023\/12\/hexabyte-clear.svg","width":318,"height":57,"caption":"Hexabyte AB"},"image":{"@id":"https:\/\/hexabyte.se\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/hexabyte.se\/en\/wp-json\/wp\/v2\/kb\/504638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hexabyte.se\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/hexabyte.se\/en\/wp-json\/wp\/v2\/types\/kb"}],"wp:attachment":[{"href":"https:\/\/hexabyte.se\/en\/wp-json\/wp\/v2\/media?parent=504638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}