{"id":4265,"date":"2024-11-22T12:52:16","date_gmt":"2024-11-22T11:52:16","guid":{"rendered":"https:\/?p=4265"},"modified":"2024-11-22T13:44:53","modified_gmt":"2024-11-22T12:44:53","slug":"guia-para-instalar-y-configurar-openssh-en-debian-linux-12","status":"publish","type":"post","link":"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/","title":{"rendered":"Guide to installing and configuring OpenSSH on Debian Linux 12."},"content":{"rendered":"<figure class=\"wp-block-image aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"http:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2-1024x576.jpg\" alt=\"\" class=\"wp-image-4267\" style=\"width:1200px;height:auto\" srcset=\"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2-1024x576.jpg 1024w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2-300x169.jpg 300w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2-768x432.jpg 768w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2-1536x864.jpg 1536w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Article table of contents.<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#%C2%BFQue_es_SSH\" >What is SSH?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#%C2%BFQue_es_OpenSSH\" >What is OpenSSH?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#OpenSSH_Server_y_OpenSSH_Client\" >OpenSSH Server and OpenSSH Client<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Caracteristicas_de_OpenSSH\" >OpenSSH Features<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Ventajas_de_OpenSSH\" >Advantages of OpenSSH<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Instalacion_de_OpenSSH_en_Debian_12\" >Installing OpenSSH on Debian 12<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Instalar_OpenSSH_Server_en_Debian_12\" >Installing OpenSSH Server on Debian 12<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Instalar_OpenSSH_Client_en_Debian_12\" >Install OpenSSH Client on Debian 12<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Configuracion_basica_de_OpenSSH\" >Basic OpenSSH Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Seguridad_adicional_opcional\" >Additional security (optional)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Para_saber_la_direccion_IP_o_el_nombre_del_servidor_en_Debian_12\" >To find out the IP address or server name in Debian 12<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Comprobar_el_entorno_LAMP_y_SSH\" >Check the LAMP and SSH environment.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%C2%BFQue_es_SSH\"><\/span><strong>What is SSH?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>SSH (Secure Shell) is a network protocol that allows users to securely connect to other systems over an unsecured network. It provides:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Secure authentication<\/strong>&nbsp;(usually using passwords or keys).<\/li>\n\n\n\n<li><strong>Data encryption<\/strong>, preventing information from being intercepted.<\/li>\n\n\n\n<li><strong>Remote access<\/strong>&nbsp;to systems and the ability to run commands as if you were on the remote computer.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%C2%BFQue_es_OpenSSH\"><\/span><strong>What is OpenSSH?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>OpenSSH is a free and open-source implementation of the SSH protocol. It is widely used on Unix\/Linux systems for secure connections between computers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"OpenSSH_Server_y_OpenSSH_Client\"><\/span><strong>OpenSSH Server and OpenSSH Client<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>OpenSSH Server<\/strong>: Allows other computers to remotely connect to the system where it&#039;s installed. This is the component that receives SSH connections.<\/li>\n\n\n\n<li><strong>OpenSSH Client<\/strong>: It is the program used to initiate a remote connection from your computer to another system that has an SSH server configured.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Caracteristicas_de_OpenSSH\"><\/span><strong>OpenSSH Features<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Strong encryption<\/strong>: Uses modern encryption algorithms such as AES, ChaCha20, and RSA.<\/li>\n\n\n\n<li><strong>Secure authentication<\/strong>: Supports passwords, SSH keys, and advanced methods like two-factor authentication.<\/li>\n\n\n\n<li><strong>Safe tunnels<\/strong>: Supports TCP\/IP tunneling and port forwarding to securely access internal services.<\/li>\n\n\n\n<li><strong>Wide compatibility<\/strong>: Works on a variety of platforms, including Linux, Windows, and macOS.<\/li>\n\n\n\n<li><strong>Extensibility<\/strong>: Supports additional modules and customization.<\/li>\n\n\n\n<li><strong>Integrated tools<\/strong>: As&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">scp<\/code>&nbsp;and&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">sftp<\/code>&nbsp;to transfer files securely.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ventajas_de_OpenSSH\"><\/span><strong>Advantages of OpenSSH<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enhanced security<\/strong>: Secures remote connections using encryption.<\/li>\n\n\n\n<li><strong>Light and efficient<\/strong>: Requires few system resources.<\/li>\n\n\n\n<li><strong>Free and open source<\/strong>: No licensing costs.<\/li>\n\n\n\n<li><strong>Multipurpose<\/strong>: Remote connection, file transfer and port forwarding.<\/li>\n\n\n\n<li><strong>Flexible configuration<\/strong>: You can customize it according to your needs.<\/li>\n<\/ul>\n\n\n\n<p>Setting up a server&nbsp;<strong>SSH<\/strong>&nbsp;in an environment&nbsp;<strong>LAMP<\/strong>&nbsp;(Linux, Apache, MySQL, PHP) involves installing and configuring SSH along with the LAMP stack on a Linux system.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Instalacion_de_OpenSSH_en_Debian_12\"><\/span><strong>Installing OpenSSH on Debian 12<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Instalar_OpenSSH_Server_en_Debian_12\"><\/span><strong>Installing OpenSSH Server on Debian 12<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><strong>Install the OpenSSH server package<\/strong><br>Run the following command to install the OpenSSH server:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ sudo apt install openssh-server\n<\/pre><\/div>\n\n\n<p><strong>Check the status of the SSH server<\/strong><br>After installation, verify that the service is active:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ sudo systemctl status ssh\n<\/pre><\/div>\n\n\n<p>If it is working, it should show a status like&nbsp;<em>active (running)<\/em>.<\/p>\n\n\n\n<p><strong>If it is not active, you can start it:<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ sudo systemctl start ssh\n<\/pre><\/div>\n\n\n<p><strong>Enable the service at system startup<\/strong><br>To ensure that the SSH service starts automatically every time you power on your system:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ sudo systemctl enable ssh\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Instalar_OpenSSH_Client_en_Debian_12\"><\/span><strong>Install OpenSSH Client on Debian 12<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The SSH client is usually installed by default in Debian. To ensure it&#039;s available:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><strong>Install the SSH client (if not installed)<\/strong><\/strong><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ sudo apt install openssh-client\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configuracion_basica_de_OpenSSH\"><\/span><strong>Basic OpenSSH Configuration<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Configuration file<\/strong><\/li>\n<\/ul>\n\n\n\n<p>The main SSH server configuration file is:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n\/etc\/ssh\/sshd_config\n<\/pre><\/div>\n\n\n<p>Some common configurations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Service port (default is 22)<\/strong>: Change the port for greater security:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\nPort 2222\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Allow or deny root access<\/strong>: It is recommended to disable root access to improve security:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\nPermitRootLogin no\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use key authentication instead of passwords<\/strong>: Configure this by adding:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\nPasswordAuthentication no\nPubkeyAuthentication yes\n<\/pre><\/div>\n\n\n<p>Make sure you set up public keys before disabling passwords.<\/p>\n\n\n\n<p>Restart the SSH service to apply the changes:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ sudo systemctl restart ssh\n<\/pre><\/div>\n\n\n<p>With this, you have set up public key authentication!<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Configure public keys<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Setting up public keys for SSH authentication in Debian 12 involves generating a key pair (public and private) on the client and then transferring the public key to the server. This eliminates the need for passwords to log in and increases security.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>On the client (your local computer)<\/strong><\/h4>\n\n\n\n<p><strong>1. Generate an SSH key pair<\/strong><\/p>\n\n\n\n<p>Open a terminal and run the command:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ ssh-keygen -t rsa -b 4096\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code class=\"\" data-line=\"\" data-no-auto-translation=\"\">-t rsa<\/code><\/strong>: Specifies the key type (RSA in this case).<\/li>\n\n\n\n<li><strong><code class=\"\" data-line=\"\" data-no-auto-translation=\"\">-b 4096<\/code><\/strong>: Defines the key size in bits for added security.<\/li>\n<\/ul>\n\n\n\n<p>The system will ask you for a location to save the keys. Press&nbsp;<strong>Enter<\/strong>&nbsp;to use the default location (<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">~\/.ssh\/id_rsa<\/code>).<br>You can also set a&nbsp;<strong>optional password<\/strong>&nbsp;to protect the private key.<\/p>\n\n\n\n<p><strong>Verify the generated keys<\/strong><\/p>\n\n\n\n<p>The above command creates two files in the directory&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">~\/.ssh\/<\/code>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code class=\"\" data-line=\"\" data-no-auto-translation=\"\">id_rsa<\/code>: Your private key (keep it safe and don&#039;t share it).<\/li>\n\n\n\n<li><code class=\"\" data-line=\"\" data-no-auto-translation=\"\">id_rsa.pub<\/code>: Your public key (shared with the server).<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>On the SSH server<\/strong><\/h4>\n\n\n\n<p><strong>1. Copy the public key to the server<\/strong><\/p>\n\n\n\n<p>Use the command&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">ssh-copy-id<\/code>&nbsp;To transfer your public key to the server:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ ssh-copy-id usuario@ip_del_servidor\n<\/pre><\/div>\n\n\n<p>Replaces&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">usuario<\/code>&nbsp;with your username on the server and&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">ip_del_servidor<\/code>&nbsp;with the server&#039;s IP address or hostname. This command:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>It will ask you for the user&#039;s password.<\/li>\n\n\n\n<li>It will automatically add your public key to the file&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">~\/.ssh\/authorized_keys<\/code>&nbsp;on the server.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Configure correct permissions on the server<\/strong><\/h4>\n\n\n\n<p>Make sure the permissions on the server are correct:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ chmod 700 ~\/.ssh\n$ chmod 600 ~\/.ssh\/authorized_keys\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Seguridad_adicional_opcional\"><\/span><strong>Additional security (optional)<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set up a&nbsp;<strong>firewall<\/strong>&nbsp;to allow only necessary connections<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ sudo apt install ufw\n$ sudo ufw allow 2222\/tcp\n$ sudo ufw allow 80\/tcp\n$ sudo ufw allow 443\/tcp\n$ sudo ufw enable\n<\/pre><\/div>\n\n\n<p>With this, your server&nbsp;<strong>LAMP<\/strong>&nbsp;will be securely accessible through&nbsp;<strong>SSH<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Para_saber_la_direccion_IP_o_el_nombre_del_servidor_en_Debian_12\"><\/span>To find out the IP address or server name in Debian 12<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>Find out the server IP in Debian 12<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ ip a\n<\/pre><\/div>\n\n\n<p>This will display a list of network interfaces with their respective IP addresses. Look for the address under the active interface section, such as&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">eth0<\/code>,&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">ens33<\/code>&nbsp;either&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">wlan0<\/code>.<\/p>\n\n\n\n<p><strong>Wear&nbsp;<\/strong><code class=\"\" data-line=\"\" data-no-auto-translation=\"\">hostname -I<\/code><\/p>\n\n\n\n<p>This command returns only the IP addresses assigned to the server:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ hostname -I\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>Know the public IP (if the server is connected to the Internet)<\/strong><\/h4>\n\n\n\n<p>If the server has internet access, use this command to get the public IP:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ curl ifconfig.me\n<\/pre><\/div>\n\n\n<p>This will show the public IP from which the server is accessible from the internet.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Know the server name (hostname)<\/strong><\/h4>\n\n\n\n<p><strong>a) Display the server name<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ hostname\n<\/pre><\/div>\n\n\n<p>This will return the server name (for example,&nbsp;<code class=\"\" data-line=\"\" data-no-auto-translation=\"\">mi-servidor<\/code>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Comprobar_el_entorno_LAMP_y_SSH\"><\/span><strong><strong>Check the LAMP and SSH environment<\/strong><\/strong>.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>From the client, try to connect to the server:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ ssh usuario@ip_del_servidor\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\n$ ssh javier02@direccionIPServer\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"547\" src=\"http:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Captura-de-pantalla-2024-11-22-133041-1-1024x547.jpg\" alt=\"\" class=\"wp-image-4275\" style=\"width:1200px;height:auto\" srcset=\"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Captura-de-pantalla-2024-11-22-133041-1-1024x547.jpg 1024w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Captura-de-pantalla-2024-11-22-133041-1-300x160.jpg 300w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Captura-de-pantalla-2024-11-22-133041-1-768x410.jpg 768w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Captura-de-pantalla-2024-11-22-133041-1.jpg 1107w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If everything is set up correctly, you won&#039;t be prompted for a password, and authentication will be automatic.<\/p>\n\n\n\n<p>Access the web server with a browser:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\" data-no-auto-translation=\"\">\nhttp:\/\/&amp;lt;IP_DEL_SERVIDOR&gt;\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"613\" src=\"http:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/ipserverweb-1024x613.jpg\" alt=\"\" class=\"wp-image-4276\" style=\"width:1200px;height:auto\" srcset=\"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/ipserverweb-1024x613.jpg 1024w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/ipserverweb-300x180.jpg 300w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/ipserverweb-768x460.jpg 768w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/ipserverweb-1536x920.jpg 1536w, https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/ipserverweb.jpg 1914w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>OpenSSH<\/strong> It is an essential tool for securely accessing and managing servers remotely. It provides an encrypted channel that protects against interception and third-party attacks, making it ideal for managing servers on public or private networks. Its flexibility in allowing advanced configurations such as public key authentication, SSH tunneling, and port forwarding make it a robust and widely used solution.<\/p>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>\u00bfQu\u00e9 es SSH? SSH (Secure Shell) es un protocolo de red que permite a los usuarios conectarse de forma segura a otros sistemas a trav\u00e9s de una red no segura. Proporciona: \u00bfQu\u00e9 es OpenSSH? OpenSSH es una implementaci\u00f3n libre y de c\u00f3digo abierto del protocolo SSH. Es una herramienta ampliamente [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4267,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"jetpack_post_was_ever_published":false,"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2,3],"tags":[7,15,17,248],"class_list":["post-4265","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-informatica","category-sistemas","tag-debian-linux","tag-linux","tag-lts","tag-openssh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Gu\u00eda para instalar OpenSSH en Debian Linux 12<\/title>\n<meta name=\"description\" content=\"Aprende a instalar y configurar OpenSSH en Debian 12 de forma segura y eficiente con esta gu\u00eda paso a paso.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gu\u00eda para instalar OpenSSH en Debian Linux 12\" \/>\n<meta property=\"og:description\" content=\"Aprende a instalar y configurar OpenSSH en Debian 12 de forma segura y eficiente con esta gu\u00eda paso a paso.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/\" \/>\n<meta property=\"og:site_name\" content=\"javiercachon.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javiercachon82\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/javiercachon82\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-22T11:52:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-22T12:44:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Javier Cach\u00f3n Garrido\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/x.com\/udegeek\" \/>\n<meta name=\"twitter:site\" content=\"@udegeek\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Javier Cach\u00f3n Garrido\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/\"},\"author\":{\"name\":\"Javier Cach\u00f3n Garrido\",\"@id\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/#\\\/schema\\\/person\\\/56ea56e1350676921cc43a3bcfd6c997\"},\"headline\":\"Gu\u00eda para instalar y configurar OpenSSH en Debian Linux 12.\",\"datePublished\":\"2024-11-22T11:52:16+00:00\",\"dateModified\":\"2024-11-22T12:44:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/\"},\"wordCount\":1073,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/#\\\/schema\\\/person\\\/56ea56e1350676921cc43a3bcfd6c997\"},\"image\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/hq720-2.jpg\",\"keywords\":[\"Debian Linux\",\"Linux\",\"LTS\",\"OpenSSH\"],\"articleSection\":[\"Inform\u00e1tica\",\"Sistemas\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/\",\"url\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/\",\"name\":\"Gu\u00eda para instalar OpenSSH en Debian Linux 12\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/hq720-2.jpg\",\"datePublished\":\"2024-11-22T11:52:16+00:00\",\"dateModified\":\"2024-11-22T12:44:53+00:00\",\"description\":\"Aprende a instalar y configurar OpenSSH en Debian 12 de forma segura y eficiente con esta gu\u00eda paso a paso.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#primaryimage\",\"url\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/hq720-2.jpg\",\"contentUrl\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/hq720-2.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/javiercachon.com\\\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"inicio\",\"item\":\"https:\\\/\\\/javiercachon.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gu\u00eda para instalar y configurar OpenSSH en Debian Linux 12.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/\",\"name\":\"javiercachon.com\",\"description\":\"es una plataforma educativa revolucionaria que busca democratizar el acceso al conocimiento en inform\u00e1tica.\",\"publisher\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/#\\\/schema\\\/person\\\/56ea56e1350676921cc43a3bcfd6c997\"},\"alternateName\":\"javiercachon.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/javiercachon.com\\\/es\\\/#\\\/schema\\\/person\\\/56ea56e1350676921cc43a3bcfd6c997\",\"name\":\"Javier Cach\u00f3n Garrido\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Montanas-JC-logo-azul.jpg\",\"url\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Montanas-JC-logo-azul.jpg\",\"contentUrl\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Montanas-JC-logo-azul.jpg\",\"width\":250,\"height\":34,\"caption\":\"Javier Cach\u00f3n Garrido\"},\"logo\":{\"@id\":\"https:\\\/\\\/javiercachon.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Montanas-JC-logo-azul.jpg\"},\"description\":\"Javier Cach\u00f3n Garrido es un experto en inform\u00e1tica, apasionado por el c\u00f3digo abierto y la educaci\u00f3n tecnol\u00f3gica. Como fundador de JavierCachon.com, impulsa la formaci\u00f3n en GNU\\\/Linux y software libre, promoviendo el aprendizaje accesible y colaborativo. Su misi\u00f3n es democratizar el conocimiento en TI, ofreciendo recursos gratuitos y de calidad para profesionales y entusiastas del sector. Es un profeta y predicador que evangeliza la tecnolog\u00eda, la inform\u00e1tica y telecomunicaciones, acomp\u00e1\u00f1ale en su aventura y pasi\u00f3n por los sistemas operativos abiertos GNU\\\/Linux.\",\"sameAs\":[\"https:\\\/\\\/javiercachon.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/javiercachon82\",\"https:\\\/\\\/www.instagram.com\\\/edugeek\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/javiercachongarrido\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/x.com\\\/udegeek\",\"https:\\\/\\\/www.youtube.com\\\/@edugeek\",\"https:\\\/\\\/wiki.javiercachon.com\\\/wiki\\\/index.php\\\/Usuario:Ojosdegato\"],\"url\":\"https:\\\/\\\/javiercachon.com\\\/en\\\/author\\\/ojosdegato\\\/\"},false]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gu\u00eda para instalar OpenSSH en Debian Linux 12","description":"Aprende a instalar y configurar OpenSSH en Debian 12 de forma segura y eficiente con esta gu\u00eda paso a paso.","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:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/","og_locale":"en_US","og_type":"article","og_title":"Gu\u00eda para instalar OpenSSH en Debian Linux 12","og_description":"Aprende a instalar y configurar OpenSSH en Debian 12 de forma segura y eficiente con esta gu\u00eda paso a paso.","og_url":"https:\/\/javiercachon.com\/en\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/","og_site_name":"javiercachon.com","article_publisher":"https:\/\/www.facebook.com\/javiercachon82","article_author":"https:\/\/www.facebook.com\/javiercachon82","article_published_time":"2024-11-22T11:52:16+00:00","article_modified_time":"2024-11-22T12:44:53+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg","type":"image\/jpeg"}],"author":"Javier Cach\u00f3n Garrido","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/x.com\/udegeek","twitter_site":"@udegeek","twitter_misc":{"Written by":"Javier Cach\u00f3n Garrido","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#article","isPartOf":{"@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/"},"author":{"name":"Javier Cach\u00f3n Garrido","@id":"https:\/\/javiercachon.com\/es\/#\/schema\/person\/56ea56e1350676921cc43a3bcfd6c997"},"headline":"Gu\u00eda para instalar y configurar OpenSSH en Debian Linux 12.","datePublished":"2024-11-22T11:52:16+00:00","dateModified":"2024-11-22T12:44:53+00:00","mainEntityOfPage":{"@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/"},"wordCount":1073,"commentCount":0,"publisher":{"@id":"https:\/\/javiercachon.com\/es\/#\/schema\/person\/56ea56e1350676921cc43a3bcfd6c997"},"image":{"@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#primaryimage"},"thumbnailUrl":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg","keywords":["Debian Linux","Linux","LTS","OpenSSH"],"articleSection":["Inform\u00e1tica","Sistemas"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/","url":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/","name":"Gu\u00eda para instalar OpenSSH en Debian Linux 12","isPartOf":{"@id":"https:\/\/javiercachon.com\/es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#primaryimage"},"image":{"@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#primaryimage"},"thumbnailUrl":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg","datePublished":"2024-11-22T11:52:16+00:00","dateModified":"2024-11-22T12:44:53+00:00","description":"Aprende a instalar y configurar OpenSSH en Debian 12 de forma segura y eficiente con esta gu\u00eda paso a paso.","breadcrumb":{"@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#primaryimage","url":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg","contentUrl":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/javiercachon.com\/guia-para-instalar-y-configurar-openssh-en-debian-linux-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"inicio","item":"https:\/\/javiercachon.com\/"},{"@type":"ListItem","position":2,"name":"Gu\u00eda para instalar y configurar OpenSSH en Debian Linux 12."}]},{"@type":"WebSite","@id":"https:\/\/javiercachon.com\/es\/#website","url":"https:\/\/javiercachon.com\/es\/","name":"javiercachon.com","description":"It is a revolutionary educational platform that seeks to democratize access to computer science knowledge.","publisher":{"@id":"https:\/\/javiercachon.com\/es\/#\/schema\/person\/56ea56e1350676921cc43a3bcfd6c997"},"alternateName":"javiercachon.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/javiercachon.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/javiercachon.com\/es\/#\/schema\/person\/56ea56e1350676921cc43a3bcfd6c997","name":"Javier Cach\u00f3n Garrido","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Montanas-JC-logo-azul.jpg","url":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Montanas-JC-logo-azul.jpg","contentUrl":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Montanas-JC-logo-azul.jpg","width":250,"height":34,"caption":"Javier Cach\u00f3n Garrido"},"logo":{"@id":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/Montanas-JC-logo-azul.jpg"},"description":"Javier Cach\u00f3n Garrido es un experto en inform\u00e1tica, apasionado por el c\u00f3digo abierto y la educaci\u00f3n tecnol\u00f3gica. Como fundador de JavierCachon.com, impulsa la formaci\u00f3n en GNU\/Linux y software libre, promoviendo el aprendizaje accesible y colaborativo. Su misi\u00f3n es democratizar el conocimiento en TI, ofreciendo recursos gratuitos y de calidad para profesionales y entusiastas del sector. Es un profeta y predicador que evangeliza la tecnolog\u00eda, la inform\u00e1tica y telecomunicaciones, acomp\u00e1\u00f1ale en su aventura y pasi\u00f3n por los sistemas operativos abiertos GNU\/Linux.","sameAs":["https:\/\/javiercachon.com\/","https:\/\/www.facebook.com\/javiercachon82","https:\/\/www.instagram.com\/edugeek\/","https:\/\/www.linkedin.com\/in\/javiercachongarrido\/","https:\/\/x.com\/https:\/\/x.com\/udegeek","https:\/\/www.youtube.com\/@edugeek","https:\/\/wiki.javiercachon.com\/wiki\/index.php\/Usuario:Ojosdegato"],"url":"https:\/\/javiercachon.com\/en\/author\/ojosdegato\/"},false]}},"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/javiercachon.com\/wp-content\/uploads\/2024\/11\/hq720-2.jpg","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/posts\/4265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/comments?post=4265"}],"version-history":[{"count":0,"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/posts\/4265\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/media\/4267"}],"wp:attachment":[{"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/media?parent=4265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/categories?post=4265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/javiercachon.com\/en\/wp-json\/wp\/v2\/tags?post=4265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}