[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisiónAmbos lados, revisión siguiente
es:howtos:security:ssh [2019/03/18 01:58 (UTC)] – [The SSH configuration files and finding more information] antares_alfes:howtos:security:ssh [2019/03/18 02:20 (UTC)] – [Modifying the sshd_config file] antares_alf
Línea 15: Línea 15:
  
 La documentación de [[http://www.openssh.org|OpenSSH]] es muy buena, así que siéntase libre de ingresar el comando: ''apropos openssh'' or ''man -k openssh'' y lea las diferentes páginas man, que son mucho más detalladas que esta página wiki. La documentación de [[http://www.openssh.org|OpenSSH]] es muy buena, así que siéntase libre de ingresar el comando: ''apropos openssh'' or ''man -k openssh'' y lea las diferentes páginas man, que son mucho más detalladas que esta página wiki.
-===== Modifying the sshd_config file =====+===== Modificando el archivo sshd_config =====
  
 +La primera regla, antes de modificar un archivo de configuración importante es hacer una copia de respaldo. Por ejemplo:
  
-The first rule, before you modify an important configuration file is to make a backup copy of itFor instance:+<code> 
 +# cp -v /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIG.20120826 
 +</code>
  
-''# cp -v /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIG.20120826''+El comando mostrado arriba hace una copia del archivo ''sshd_config'' y añadir la extención ''.ORIG'' (por original, por supuesto)e incluir la fecha de modificación. Aunque no es perfecto, este sistema asegurar que siempre pueda volver a la versión previa del importante archivo ingresando el siguiente código.
  
-The command shown above will make a copy of the ''sshd_config'' file, and append the extension ''.ORIG'' (for original, of course) and include a modification dateWhile not perfect, this system insures that you can always go back to the previous version of an important file by entering the following:+<code> 
 +# cp -v /etc/ssh/sshd_config.ORIG.20120826 /etc/ssh/sshd_config 
 +</code>
  
-''# cp -v /etc/ssh/sshd_config.ORIG.20120826 /etc/ssh/sshd_config''+Tenga en cuenta que esta es una sugerencia, por supuesto, y se recomienda encarecidamente a los administradores de sistemas que tienen que administrar grandes instalaciones, con cientos de servidores, investigar mejores soluciones, como [[http://puppetlabs.com/|Puppet]] u otros gestores de configuración de sistemas distribuidos.
  
-Please note that this is a suggestionof course, and system administrators that have to manage large installation, with hundreds of servers, are strongly advised to investigate better solutions, such as [[http://puppetlabs.com/|Puppet]] or other distributed system configuration managers. +Ahoraedite el archivo ''/etc/ssh/sshd_config'' con su editor favorito y ajusta las siguientes lineas:
- +
-Now, edit the ''/etc/ssh/sshd_config'' file with your favourite editor and tweak the following lines:+
  
 ===== Change the SSH default port ===== ===== Change the SSH default port =====
 es:howtos:security:ssh ()