Andre J
asked on
Open SSHD issue
I am running a Centos 7 linux server, i am runnin open ssh server, and client. I did a recent test to see if the ssh is working correctly, and what i found out was i could only using my internal IP address to access my server from my workstation. I tried to use the public static ip and i get a timed out error. I checked my ports 21,22, to make sure they are open through port forwarding through my wireless router. They check out to be open, I am using firewalld as a firewall, and i did notice that my selinux gave me an message basically asking me do i want the sshd server access to a particular file. I am not sure if selinux is the issue. But i want to find out if it is a permission problem, or selinux issue. The actual sshd server when checked on staus shows it is running fine. Please help
error2.PNG
error2.PNG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
after this restart ssh service once and try
A check it it is a selinux issue can be verified by putting selinux in permissive mode reboot
and check again.
(Don't forget to set selinu back to restricted mode & reboot).
and check again.
(Don't forget to set selinu back to restricted mode & reboot).
if it is working then allow 22 and protocol ssh on firewalld
check sshd_config once it is properly configured or not?
try once from local system telnet to public ip and port 22