{"id":1983,"date":"2023-01-11T12:18:00","date_gmt":"2023-01-11T20:18:00","guid":{"rendered":"https:\/\/jmcristobal.com\/?p=1983"},"modified":"2023-08-20T12:41:35","modified_gmt":"2023-08-20T19:41:35","slug":"how-to-install-ssh-server-on-linux","status":"publish","type":"post","link":"https:\/\/jmcristobal.com\/es\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/","title":{"rendered":"C\u00f3mo instalar un servidor SSH en Linux\u00a0"},"content":{"rendered":"<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">1.- Instalar con el comando apt-get en Ubuntu:<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"bash\" class=\"language-bash\">sudo apt-get install openssh-server<\/code><\/pre>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">1.- Instalar con el comando dnf en Fedora:<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"bash\" class=\"language-bash\">sudo dnf install openssh-server<\/code><\/pre>\n\n\n\n<p><strong>2.- Habilitar el servicio ssh:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"bash\" class=\"language-bash\">s<span style=\"font-family: monospace; font-size: inherit; background-color: rgba(248, 248, 242, 0.2);\">udo systemctl enable sshd<\/span><\/code><\/pre>\n\n\n\n<p><strong>3.- Configurar para iniciar el servicio ssh en el arranque:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"bash\" class=\"language-bash\"><code>sudo systemctl start sshd<\/code><\/code><\/pre>\n\n\n\n<p><strong>4.- Comprobar que el servidor SSH est\u00e1 escuchando en el puerto 22 con el comando netstat:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"bash\" class=\"language-bash\"><code>netstat -plant | grep 22<\/code><\/code><\/pre>\n\n\n\n<p><strong>5.- Validar la versi\u00f3n del servidor ssh instalado:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"bash\" class=\"language-bash\"><code>ssh -V<\/code><\/code><\/pre>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>1.- Install with apt-get command on Ubuntu: sudo apt-get install openssh-server 1.- Install with dnf command on Fedora: sudo dnf install openssh-server <\/p>","protected":false},"author":2,"featured_media":1994,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[529,237],"tags":[607,530,526,423,532],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How-to Install SSH Server on Linux\u00a0 - JMCristobal<\/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:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How-to Install SSH Server on Linux\u00a0 - JMCristobal\" \/>\n<meta property=\"og:description\" content=\"1.- Install with apt-get command on Ubuntu: sudo apt-get install openssh-server 1.- Install with dnf command on Fedora: sudo dnf install openssh-server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"JMCristobal\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/JMCristobalHomepage\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-11T20:18:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-20T19:41:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/52.7.70.250\/wp-content\/uploads\/2023\/01\/linux-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"532\" \/>\n\t<meta property=\"og:image:height\" content=\"582\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JMCristobal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@jmcristobalhome\" \/>\n<meta name=\"twitter:site\" content=\"@jmcristobalhome\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"JMCristobal\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/\"},\"author\":{\"name\":\"JMCristobal\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\"},\"headline\":\"How-to Install SSH Server on Linux\u00a0\",\"datePublished\":\"2023-01-11T20:18:00+00:00\",\"dateModified\":\"2023-08-20T19:41:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/\"},\"wordCount\":55,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#organization\"},\"keywords\":[\"fedora\",\"linux\",\"server\",\"ssh\",\"ubuntu\"],\"articleSection\":[\"Devnet\",\"Linux\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/\",\"url\":\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/\",\"name\":\"How-to Install SSH Server on Linux\u00a0 - JMCristobal\",\"isPartOf\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#website\"},\"datePublished\":\"2023-01-11T20:18:00+00:00\",\"dateModified\":\"2023-08-20T19:41:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jmcristobal.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How-to Install SSH Server on Linux\u00a0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#website\",\"url\":\"https:\/\/jmcristobal.com\/es\/\",\"name\":\"JMCristobal\",\"description\":\"Networking and more\",\"publisher\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jmcristobal.com\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#organization\",\"name\":\"JMCristobal\",\"url\":\"https:\/\/jmcristobal.com\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png\",\"contentUrl\":\"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png\",\"width\":518,\"height\":436,\"caption\":\"JMCristobal\"},\"image\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.youtube.com\/JMCristobalHomepage\",\"https:\/\/web.facebook.com\/JMCristobalHomepage\",\"https:\/\/twitter.com\/jmcristobalhome\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\",\"name\":\"JMCristobal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"caption\":\"JMCristobal\"},\"url\":\"https:\/\/jmcristobal.com\/es\/author\/jmcristobal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How-to Install SSH Server on Linux\u00a0 - JMCristobal","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:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/","og_locale":"es_ES","og_type":"article","og_title":"How-to Install SSH Server on Linux\u00a0 - JMCristobal","og_description":"1.- Install with apt-get command on Ubuntu: sudo apt-get install openssh-server 1.- Install with dnf command on Fedora: sudo dnf install openssh-server","og_url":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/","og_site_name":"JMCristobal","article_publisher":"https:\/\/web.facebook.com\/JMCristobalHomepage","article_published_time":"2023-01-11T20:18:00+00:00","article_modified_time":"2023-08-20T19:41:35+00:00","og_image":[{"width":532,"height":582,"url":"https:\/\/52.7.70.250\/wp-content\/uploads\/2023\/01\/linux-1.png","type":"image\/png"}],"author":"JMCristobal","twitter_card":"summary_large_image","twitter_creator":"@jmcristobalhome","twitter_site":"@jmcristobalhome","twitter_misc":{"Escrito por":"JMCristobal"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#article","isPartOf":{"@id":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/"},"author":{"name":"JMCristobal","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118"},"headline":"How-to Install SSH Server on Linux\u00a0","datePublished":"2023-01-11T20:18:00+00:00","dateModified":"2023-08-20T19:41:35+00:00","mainEntityOfPage":{"@id":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/"},"wordCount":55,"commentCount":0,"publisher":{"@id":"https:\/\/jmcristobal.com\/es\/#organization"},"keywords":["fedora","linux","server","ssh","ubuntu"],"articleSection":["Devnet","Linux"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/","url":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/","name":"How-to Install SSH Server on Linux\u00a0 - JMCristobal","isPartOf":{"@id":"https:\/\/jmcristobal.com\/es\/#website"},"datePublished":"2023-01-11T20:18:00+00:00","dateModified":"2023-08-20T19:41:35+00:00","breadcrumb":{"@id":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/52.7.70.250\/2023\/01\/11\/how-to-install-ssh-server-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jmcristobal.com\/es\/"},{"@type":"ListItem","position":2,"name":"How-to Install SSH Server on Linux\u00a0"}]},{"@type":"WebSite","@id":"https:\/\/jmcristobal.com\/es\/#website","url":"https:\/\/jmcristobal.com\/es\/","name":"JMCristobal","description":"Networking and more","publisher":{"@id":"https:\/\/jmcristobal.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jmcristobal.com\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/jmcristobal.com\/es\/#organization","name":"JMCristobal","url":"https:\/\/jmcristobal.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png","contentUrl":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png","width":518,"height":436,"caption":"JMCristobal"},"image":{"@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.youtube.com\/JMCristobalHomepage","https:\/\/web.facebook.com\/JMCristobalHomepage","https:\/\/twitter.com\/jmcristobalhome"]},{"@type":"Person","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118","name":"JMCristobal","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","caption":"JMCristobal"},"url":"https:\/\/jmcristobal.com\/es\/author\/jmcristobal\/"}]}},"jetpack_featured_media_url":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2023\/01\/linux-1.png","_links":{"self":[{"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/1983"}],"collection":[{"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/comments?post=1983"}],"version-history":[{"count":8,"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/1983\/revisions"}],"predecessor-version":[{"id":1991,"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/1983\/revisions\/1991"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/media\/1994"}],"wp:attachment":[{"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/media?parent=1983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/categories?post=1983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jmcristobal.com\/es\/wp-json\/wp\/v2\/tags?post=1983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}