Diferencia entre revisiones de «Sysadmin»

De Furilo
Ir a la navegación Ir a la búsqueda
Línea 2: Línea 2:
  
 
<code>
 
<code>
 
 
vi /etc/ssh/sshd_config
 
vi /etc/ssh/sshd_config
  
# What ports, IPs and protocols we listen for
 
 
Port 50683
 
Port 50683
  

Revisión del 17:05 10 ene 2014

Change default SSH port

vi /etc/ssh/sshd_config

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