Puzzling problem - I can SSH into my fresh 12.04.1LTS Server from one computer but not another.
What I seek: What to check for, that I haven't already.
Background -
I set up a server a few days ago and followed an online guide to secure it (here). I could still SSH into it afterwards using my laptop after a reboot, so it was fine at that point.
Start of problem: Today it hiccuped - corrupted a partition, and wouldn't mount the swap partition. I took the busted partition out of fstab for fixing later, so it'd boot - I also disabled the boot splash and plymouth while I was at it. Seems unrelated, think the hdd might be on it's way out. This was all done from my laptop.
On the last reboot, it wouldn't allow me to connect from the laptop I'd been using through (Win7.64/Putty - "Server unexpectedly closed connection"). Funny thing is, if I SSH into the OpenSUSE box I have on the same switch, then SSH from that into the new server, it works just fine. They're all on the same network - laptop via WiFi, both servers via switch, into the same router serving the WiFi.
- I disabled both Denyhosts and Fail2Ban even after finding nothing in their logs (I didn't install PSAD).
- I've checked dmesg after each attempt at connecting from the laptop - nothing.
- Firewall not running.
- I changed to a non-standard SSH port at install time, so that hasn't changed.
- I have "UseDNS no" in sshd_config.
- All changes in the guide were implemented before successive reboots and reconnects.
So - what do I check next? Cheers.
Bookmarks