I'm using AWS LightAail on Ubuntu.
Initially Web based Terminal was working fine, but when I did
$ sudo apt-get update
$ sudo apt-get upgrade
I got an error
Log in failed. If this instance has just started up, try again in a minute or two.
CLIENT_UNAUTHORIZED [769]