Académique Documents
Professionnel Documents
Culture Documents
Qu es SSH?
Seguridad
Instalacin
B1 AC750
7
Vamos a usar OpenSSH por tanto vamos a instalarlo: ASUS RP-AC53 Valoracin RZ
VMS3230
8
Para arrancar el servidor:
D-Link DCS- Valoracin RZ
RedesZone
* Restarting OpenBSD Secure Shell server sshd
Seguir +1
# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
UsePAM yes
MaxAuthTries 2
http://www.redeszone.net/app/uploads/cdn/down/soft/redes/make_chroot_jail.sh
A continuacin escribimos:
Salimos y entramos por ssh y veremos que efectivamente no podr salir de ese
directorio. No hace falta que reiniciemos el servidor SSH.
Podemos tambin instalar el programa fail2ban para banear IPs que hagan
muchos intentos de conexin fallidos (que metan mal la clave).
Ahora hacemos:
Y pegamos esto:
[ssh]
enabled = true
port = 1234
filter = sshd
logpath = /var/log/auth.log
maxretry = 3
cd /var/log/
gedit auth.log
PARTICIPAMOS EN PARTNERS
Aviso Legal
Contacto
Publicidad