User Tools

Site Tools


ubuntu_server_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
ubuntu_server_setup [2018/07/19 13:01]
mstraub [Root Kit & Intrusion Detection]
ubuntu_server_setup [2018/08/13 10:23]
mstraub [OpenSSH]
Line 36: Line 36:
  
 ===== OpenSSH ===== ===== OpenSSH =====
 +
 +Disable root login in ''/​etc/​ssh/​sshd_config'':​
 +
 +<​code>​
 +PermitRootLogin no
 +</​code>​
  
 A good baseline is to only allow logins via public key authentication (disable password authentication),​ except for a fallback user with a very long and complex password. See these lines in ''/​etc/​ssh/​sshd_config'':​ A good baseline is to only allow logins via public key authentication (disable password authentication),​ except for a fallback user with a very long and complex password. See these lines in ''/​etc/​ssh/​sshd_config'':​
ubuntu_server_setup.txt ยท Last modified: 2021/10/18 16:19 by mstraub