linux:safeconfigssh
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | linux:safeconfigssh [2010/08/07 11:21] – creado rlunaro | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Configuracion segura de ssh ====== | ||
+ | |||
+ | |||
+ | Sobre este particular seguro que se han escrito miles y miles de páginas, pero yo os recomiendo esta configuración: | ||
+ | |||
+ | |||
+ | <code config> | ||
+ | PermitRootLogin no < | ||
+ | |||
+ | PermitEmptyPasswords no <--- ¿hace falta decir porqué??? | ||
+ | |||
+ | MaxAuthTries 3 <-- a los tres intentos de conexión, fuera | ||
+ | |||
+ | # Para hacer la conexión más estable | ||
+ | TCPKeepAlive yes | ||
+ | ClientAliveCountMax 30 | ||
+ | ClientAliveInterval 200 | ||
+ | |||
+ | # pon un banner con un mensaje amenazador | ||
+ | Banner / | ||
+ | |||
+ | </ | ||
+ | |||
+ | Para saber más: | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
linux/safeconfigssh.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1