You said
Quote:
Yesterday i installed APF firewall and DDoS Deflate and that all went fine. Later on that day my server wasnt showing online viewing the webpages so I thought maybe the httpd is down. Went to login to SSH and when i put in the username as root
it comes up
login as: root
Using keyboard-interactive authentication.
Password:
|
I think the answer lays right there in the question....you had a ssh session running, from which you installed a firewall. You do not mention making allowances in the firewall for incomming ssh sessions from your remote address, so while the established session that you were on was OK while the firewall was installed (it was already established, so the newly installed firewall wouldn't block it), any subsequent session would be blocked.
I have a bad feeling you will need to get full console access to fix this one, by opening up the firewall to allow your ssh session inbound. If your hosting company is as poor as you suggest, you may want them simply to go into the console, and disable the firewall, then once you can get back into the system remotely, you can set it up properly.
A tip for you, to save you "sawing off the branch you are sat on": when you configure a firewall remotely, leave a session running, then try and open up another one to test the ability of external clients to get past the firewall with the correct credentials. If the configuration is wrong, you have the original session still active so you can correct the config and try again, with another session...I've done the same thing myself in the past, its nasty when you shut yourself out with your own firewall