12-03-2019, 03:37 PM
(12-03-2019, 01:56 PM)LightDestory Wrote: When changing SSH port I always perform these actions:
Do you do these action too?
- First allow traffic on the interested port and make sure to reload/restart the firewall service
- Edit sshd.conf replacing port 22 with the interested port and make sure to restart sshd service
- (It is possible that a reboot is required: only once happened to me)
Currently we don't know the exact issue because the "lost SSH access" can be due to:The last one can be fixed deleting your ".known-hosts" file placed inside the ".ssh" folder.
- Closed port
- sshd service not running
- Unmatching host-keys betweeb device and server.
You said that your IP has been changed, did you try to flush your DNS records? Did you try SSH into VPS using the IP address directly?
Thanks for the feedback @LightDestory. I've done the port number change successfully with my VPS before the KVM upgrade. I did all of the above. Firewall and sshd service, everything I needed to do. And all of it worked beautiful until the upgrade had been completed. I again did all of the above for the port number change. And everything worked completely OK during the first access of SSH after the port number change. But then when I tried to access the SSH the second time, it was broken. Something in the new KVM VPS must have overwritten something in SSH.
I've done one last try with my VPS 9 Phoenix and brought my concerns to the attention of Virmach. Let's see what they can do.
Looks like sohamb03 also has issues with his VPS 9, so the upgrades of the nodes aren't consistently the same quality. Like Chicago and Seattle VPS 9 we received no complaints on. Chicago's Hard Disk size stayed 100GB. It's as though the further down the VPSs they upgraded, the more steps they were cutting. The last VPS upgrades didn't receive the same tender loving care as the first ones. I may be completely wrong of course. Could also be because the Phoenix node is the oldest one, and maybe more difficult to upgrade. But I'm not an expert at all about upgrades. I'm just guessing now.