05-09-2021, 03:48 PM
It would be the best to see the error you got.
We're talking about CentOS here. The SELinux enforcement is a big thing on CentOS 7 and later. It might be that you need to unlock the port you want to use for SSH to be allowed to be used for SSH / with the SSH server. There was thing thing here multiple times in the past already where people got this messages and simply ignored them... leaving them locked out of their system and wondering what is going on.
Here is the thing I'm talking about but referencing CentOS 8: https://post4vps.com/Thread-How-to-Chang...n-CentOS-8
Without the actual error message we can literally only guess into the blind though.
Edit: Let me know if you want me to look at it.
We're talking about CentOS here. The SELinux enforcement is a big thing on CentOS 7 and later. It might be that you need to unlock the port you want to use for SSH to be allowed to be used for SSH / with the SSH server. There was thing thing here multiple times in the past already where people got this messages and simply ignored them... leaving them locked out of their system and wondering what is going on.
Here is the thing I'm talking about but referencing CentOS 8: https://post4vps.com/Thread-How-to-Chang...n-CentOS-8
Without the actual error message we can literally only guess into the blind though.
Edit: Let me know if you want me to look at it.
![[Image: zHHqO5Q.png]](https://i.imgur.com/zHHqO5Q.png)