Diferencia entre revisiones de «Sysadmin»
Ir a la navegación
Ir a la búsqueda
(Página creada con «## Change default SSH port <code> vi /etc/ssh/sshd_config # What ports, IPs and protocols we listen for Port 50683 /etc/init.d/ssh restart ssh [email protected] -p...») |
|||
Línea 1: | Línea 1: | ||
− | + | == Change default SSH port == | |
<code> | <code> | ||
Línea 14: | Línea 14: | ||
− | + | == Prevent root user from being able to log in via SSH == | |
<code> | <code> |
Revisión del 17:04 10 ene 2014
Change default SSH port
vi /etc/ssh/sshd_config
- What ports, IPs and protocols we listen for
Port 50683
/etc/init.d/ssh restart
ssh [email protected] -p 50683
Prevent root user from being able to log in via SSH
vi /etc/ssh/sshd_config
PermitRootLogin no
/etc/init.d/sshd restart