Unable to connect via SSH over LAN, fresh CentOS 6.7 install.
Thanks in advance.
As the title states, I am unable to connect via SSH to a fresh CentOS install.
I had an issue with a HDD, and since the server was nothing but a sandbox I simply went ahead and re-installed CentOS on a working drive. Straight from the same .iso (on USB) that I used for the install in the first place.
Install went fine.
Configured my name user, and connected via SSH on my windows machine (Mobaxterm).
Made some minor config changes (disable root login, created a couple of users).
Attempted to connect via SSH from my chromebook and received the remote host change error. I didn't have time to make the necessary fixes, so I called it a night and shutdown.
After a reboot, I am unable to connect via SSH from both the Chromebook and the windows machine.
Error is connection refused on port 22.
ssh 192.168.1.xxx -vvv shows it gets to the port, then is refused.
netstat -ntlp shows the server is listening on ::::22* as expected.
ifconfig and ping tests confirm the server is on network and connected. Port 22 is open on the router, though I don't know why that should matter when on LAN.
Disabled iptables and tested, still refused.
Steps taken - Simple reboot. No change. Re-allowed root login via SSH - No change. (immediately reversed for security reasons) Stop and start sshd service, no good.
I confirmed I can ssh localhost on the server itself.
I am a bit at a loss. All google research suggests it should be simple stop/restart or a firewall problem.
The only simple step I have not tried yet is reinstalling the sshd service.
Has anyone encountered this issue? Should the next step be to reinstall the service?