mirror of
https://github.com/imthenachoman/How-To-Secure-A-Linux-Server.git
synced 2025-12-06 09:12:47 +01:00
@@ -436,7 +436,7 @@ SSH is a door into your server. This is especially true if you are opening ports
|
|||||||
|
|
||||||
##### Steps
|
##### Steps
|
||||||
|
|
||||||
1. Make a backup of `/etc/ssh/sshd_config` and remove default comments to make it eaiser to read:
|
1. Make a backup of `/etc/ssh/sshd_config` and remove default comments to make it easier to read:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
sudo cp --preserve /etc/ssh/sshd_config /etc/ssh/sshd_config.$(date +"%Y%m%d%H%M%S")
|
sudo cp --preserve /etc/ssh/sshd_config /etc/ssh/sshd_config.$(date +"%Y%m%d%H%M%S")
|
||||||
|
|||||||
Reference in New Issue
Block a user