[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.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPró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_alf | es:howtos:security:ssh [2019/03/24 15:58 (UTC)] – [Change the SSH default port] antares_alf | ||
---|---|---|---|
Línea 15: | Línea 15: | ||
La documentación de [[http:// | La documentación de [[http:// | ||
- | ===== Modifying the sshd_config | + | ===== Modificando el archivo |
+ | 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 it. For instance: | + | < |
+ | # cp -v / | ||
+ | </ | ||
- | '' | + | El comando mostrado arriba hace una copia del archivo |
- | The command shown above will make a copy of the '' | + | < |
+ | # cp -v /etc/ssh/sshd_config.ORIG.20120826 / | ||
+ | </ | ||
- | ''# | + | 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, |
- | Please note that this is a suggestion, of course, and system administrators that have to manage large installation, | + | Ahora, edite el archivo '' |
- | Now, edit the '' | + | ===== Cambiar el puerto predeterminado de SSH ===== |
+ | Por defecto, OpenSSH escucha en el puerto | ||
- | ===== Change the SSH default port ===== | + | Si desea cambiar el puerto, busque la opción '' |
- | By default, OpenSSH listens on port 22. It is sometimes advised to change this default port to something different, such as '' | + | Por ejemplo: |
- | + | ||
- | If you'd like to change the port, search for the '' | + | |
- | + | ||
- | For instance: | + | |
'' | '' | ||
- | Can be changed to: | + | Puede cambiarse por: |
'' | '' | ||
- | |||
- | |||
===== Alternate method of Changing the SSH default port without changing | ===== Alternate method of Changing the SSH default port without changing | ||