• Important: We recently upgraded our forum software - please let us know if you run into any issues.

Raspberry Pi, Apache - Randomly forbidden access and cannot connect via SSH


New Member

I've been having a strange issue recently. I have Apache running on a Raspberry Pi with Raspbian GNU/Linux 9 (stretch), and every few days, I get a 403 error on the whole website, and if I try to connect via SSH, it immediately refuses my connection.

If I restart the Pi, I can access the machine and website again. There are no iptables rules and I can't see anything unusual, but I couldn't explain this without it being an attack of some sort.

Does anyone know what could be causing this, or how I could figure it out?

Edit: Another strange thing just happened. I lost access to the machine for about 20 seconds and had this meanwhile, but it fixed itself:

Last edited:


Super Moderator
Staff member
Gold Supporter

Members online

Latest posts