
Fedora41 ; SSH 、Firewalld
1.Remote connection by SSHSSH is a service for connecting remotely to a server, basically running immediately after OS installation, but the default settings are somewhat insecure.Configure the default settings to increase the security of ssh connections.1.1 SSH service configuration file changesThe SSH service configuration file is "/etc/ssh/sshd_config".Open the configuration file in a vi editor.2.Firewall (firewalld) settingsIn Fedora, firewalld is set as the default and is enabled during OS installation.2.1 How to use the "firewall-cmd" command to control "firewalld1)Command to check the status and settings of "firewalld①Check firewalld operation status