It says connection closed. There is no message beyond that. I think it is likely that it is failing to boot. I might video call my sister and have her try to boot it so I can see any errors.
Comment on Nginx 502, ssh not working.
xantoxis@lemmy.world 6 months ago
Some troubleshooting thoughts:
What do you mean when you say SSH is “down”:
- connection refused (fail2ban’s activity could result in a connection refused, but a VPN should have avoided that problem, as you said)
- connection timeout. probably a failure at the port forwarding level.
- connection succeeded but closed; this can happen for a few reasons, such as the system is in an early boot up state. there’s usually a message in this case.
- connection succeeded but auth rejected. this can happen if your os failed to boot but came up in a fallback state of some kind.
Knowing which one of these can give you a lot more information about what’s wrong:
System can’t get past initial boot = Maybe your NAS is unplugged? Maybe your home DNS cache is down?
Connection refused = either fail2ban or possibly your home IP has moved and you’re trying to connect to somebody else’s computer? (nginx is very popular after all, it’s not impossible somebody else at your ISP has it running). This can also be a port forwarding failure = something’s wrong with your router.
Connection succeeded + closed is similar to “can’t get past initial boot”
Auth rejected might give you a fallback option if you can figure out a default username/password, although you should hope that’s not the case because it means anyone else can also get in when your system is in fallback.
Very few of these things are actually fixable remotely, btw. I suggest having your sister unplug everything related to your setup, one device at a time. Internet router, raspberry pi, NAS, your VM host, etc. Make sure to give them a minute to cool down. Hardware, particularly cheap hardware, tends to fail when it gets hot, and this can take a while to happen, and, well, it’s been hot.
HumanPerson@sh.itjust.works 6 months ago
Shimitar@feddit.it 6 months ago
Connection closed means somebody is listening to the port and failing/not willing to reply.
Unless some network middlemen is closing your connection (ssh should be on port > 1024 to be safe from ISP throttling), your ssh server is severely strained (oom, disk full…) or your F2B is kicking in.
xantoxis@lemmy.world 6 months ago
yw :)
shnizmuffin@lemmy.inbutts.lol 6 months ago
This would be my first guess. Nothing shuts down arbitrary services quite like a full
/var/logs
.HumanPerson@sh.itjust.works 6 months ago
I’ve got a 1tb boot drive and it isn’t used for much, but stuff happens, so… idk.