[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 02:20 (UTC)] – [Modifying the sshd_config file] antares_alfes:howtos:security:ssh [2019/03/24 15:58 (UTC)] – [Change the SSH default port] antares_alf
Línea 33: Línea 33:
 Ahora, edite el archivo ''/etc/ssh/sshd_config'' con su editor favorito y ajusta las siguientes lineas: Ahora, edite el archivo ''/etc/ssh/sshd_config'' con su editor favorito y ajusta las siguientes lineas:
  
-===== Change the SSH default port =====+===== Cambiar el puerto predeterminado de SSH ===== 
 +Por defecto, OpenSSH escucha en el puerto ''22''. A veces se recomienda cambiar este puerto predeterminado a algo diferente, como ''2222'' o ''4242''. Esto no es una mala idea, pero debe recordar que al escanear su máquina con un programa como ''nmap'' obtendrá este nuevo puerto muy rápidamente.Por lo tanto, si bien puede ralentizar algunos ataques en su máquina, no los evitará por completo.
  
-By defaultOpenSSH listens on port 22. It is sometimes advised to change this default port to something different, such as ''2222'' or ''4242''. This is not a bad idea, but you have to remember that scanning your machine with a program such as ''nmap'' will obtain this new port very quickly. Sowhile it may slow down some attacks on your machineit will not prevent them entirely.+Si desea cambiar el puertobusque la opción ''Port'' en ''sshd_config'', que generalmente está en la parte superior del archivoy cambie el valor.
  
-If you'd like to change the port, search for the ''Port'' option in ''sshd_config'', which is usually at the top of file, and change the value. +Por ejemplo:
- +
-For instance:+
  
 ''Port 22'' ''Port 22''
  
-Can be changed to:+Puede cambiarse por:
  
 ''Port 4242'' ''Port 4242''
- 
- 
 ===== Alternate method of Changing the SSH default port without changing  ===== ===== Alternate method of Changing the SSH default port without changing  =====
  
 es:howtos:security:ssh ()