![]() To enable SSH traffic on your SSH server, use the firewall-cmd command in the following way $ sudo firewall-cmd -permanent -zone=public -add-service=ssh Enabling SSH traffic on your firewall settingsīy default, your firewall might not allow SSH connections by default.Īs a consequence, you will have to modify your firewall rules in order to accept SSH. Great! Your SSH server is now up and running on your CentOS 8 server. In order to check the version of your SSH utility, you can run the following command $ ssh -V User user may run the following commands on server-centos:īy default, the ssh utility should be installed on your host, even on minimal configurations. If you are seeing the following entries on your terminal, it means that you currently belong to the sudo group. To check whether you have sudo privileges or not, run the following command $ sudo -l In order to install a SSH server on CentOS 8, you will need to have sudo privileges on your server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |