somouk – Member
I would re-install the SSH server. It could be that the change in hostname is upsetting the crypto.
Something like:
sudo apt-get remove –purge openssh-server && sudo apt-get install openssh-server
Good thinking, but I would have thought it would fail to connect in that case..?
I hate it when things fix themselves. You never know if it’s really sorted, or whether it’s going to raise its ugly head at 2am on Sunday night a few weeks from now.
There is something strange with Ubuntu’s SSH setup though. If you edit a config file, e.g. to change permit root logins to YES then just restarting or even stopping and starting the SSH/SSHd services isn’t enough. You need to actually reboot the box to get it to pick up the change… Most strange