Rocky Linux8.6 : SSH、firewall、NTP
1. Setting up SSH remote connectionSSH is a service for connecting remotely to a server and is basically running immediately after the OS is installed, but the default settings are somewhat insecure.Here we will configure the default settings to increase the security of ssh connections.1.1 SSH service configuration file changes2. How to set up a firewall (firewalld)In Rocky, the firewall is set to firewalld by default and is enabled during OS installation.To briefly explain "firewalld," when setting communication control policies, communication permission/blocking rules are applied to predefined zones, and these zones are then assigned to each NIC (network adapter).4. NTP Server SettingsBuild an NTP server to synchronize the server time with Japan Standard Time