Can't login after migrating VM to Google Cloud

Thanks Moritz. I’ll do it and update it.

While installing apps through app center, I noticed errors so I’m amending this reply for others on how to resolve it.

  1. Apart from the host values, you should also edit the nameserver1 reading as it will point to the old IP address (Univention Join schlägt fehl - #4 by Petersen). This could be done via univention portal by searching DNS. I also edited ethernet card info for future use.

  2. Second time I got a new error such as “Unable to negotiate with 192.168.1.2 port 22: no matching key exchange method found. Their offer:…” I was unable to find a solution here it seemed liked it was because of old openssh sever format (https://networkforbeginners.com/no-matching-key-exchange-method-found/). I took a drastic measure (ofcourse, made a backup first) to remove the openssh server and remove the dependency by:

apt-get remove openssh-server
apt-get auto remove

And then reinstalling in by

apt-get install openssh-server

The ssh error went away and I successfully installed the app from the appcenter.