=== Abridged manual verification
### Artful
root@publishing:~# gcloud compute ssh artful-sru-test
No zone specified. Using zone [us-central1-b] for instance: [artful-sru-test].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:qnFD0APJ/VAfRHXrYshvasMsvAjmJ/R6/lmmXQzGx6w.
Please contact your system administrator.
Add correct host key in /root/.ssh/google_compute_known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/google_compute_known_hosts:4
remove with:
ssh-keygen -f "/root/.ssh/google_compute_known_hosts" -R "compute.5802718818769095753"
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Enter passphrase for key '/root/.ssh/google_compute_engine':
Enter passphrase for key '/root/.ssh/google_compute_engine':
Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-36-generic x86_64)
0 packages can be updated.
0 updates are security updates.
Last login: Fri Mar 2 15:51:05 2018 from 67.174.121.94
root@artful-sru-test:~# dpkg-query --show cloud-init
cloud-init 17.2-35-gf576b2a2-0ubuntu1~17.10.1
root@artful-sru-test:~# # add proposed
root@artful-sru-test:~# rel=$(lsb_release -sc);
root@artful-sru-test:~# line=$(awk '$1 == "deb" && $2 ~ /ubuntu.com/ {
> printf("%s %s %s-proposed main universe\n", $1, $2, rel); exit(0) };
> ' "rel=$rel" /etc/apt/sources.list);
root@artful-sru-test:~# echo "$line" | sudo tee /etc/apt/sources.list.d/proposed.list
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ artful-proposed main universe
root@artful-sru-test:~# sudo apt-get update -q;
Hit:1 http://us-central1.gce.archive.ubuntu.com/ubuntu artful InRelease
Get:2 http://us-central1.gce.archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]
Get:3 http://us-central1.gce.archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
Get:4 http://us-central1.gce.archive.ubuntu.com/ubuntu artful-proposed InRelease [235 kB]
...
Reading package lists...
root@artful-sru-test:~# sudo apt-get install cloud-init;
...
The following packages will be upgraded:
cloud-init
1 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 342 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Get:1 http://us-central1.gce.archive.ubuntu.com/ubuntu artful-proposed/main amd64 cloud-init all 17.2-35-gf576b2a2-0ubuntu1~17.10.2 [342 kB]
...
Setting up cloud-init (17.2-35-gf576b2a2-0ubuntu1~17.10.2) ...
root@artful-sru-test:~# # Reboot 'clean' allowing new cloud-init to run against a fresh system
root@artful-sru-test:~# sudo cloud-init clean --reboot --logs
Connection to 35.184.113.47 closed by remote host.
Connection to 35.184.113.47 closed.
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].
Connection to 35.184.113.47 closed by remote host.
Connection to 35.184.113.47 closed.
No zone specified. Using zone [us-central1-b] for instance: [artful-sru-test].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
...
Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-36-generic x86_64)
=== Abridged manual verification @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@ qnFD0APJ/ VAfRHXrYshvasMs vAjmJ/R6/ lmmXQzGx6w. ssh/google_ compute_ known_hosts to get rid of this message. ssh/google_ compute_ known_hosts: 4 .ssh/google_ compute_ known_hosts" -R "compute. 580271881876909 5753" interactive authentication is disabled to avoid man-in-the-middle attacks. .ssh/google_ compute_ engine' : .ssh/google_ compute_ engine' :
### Artful
root@publishing:~# gcloud compute ssh artful-sru-test
No zone specified. Using zone [us-central1-b] for instance: [artful-sru-test].
@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:
Please contact your system administrator.
Add correct host key in /root/.
Offending ECDSA key in /root/.
remove with:
ssh-keygen -f "/root/
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-
Enter passphrase for key '/root/
Enter passphrase for key '/root/
Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-36-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/advantage
* Management: https:/
* Support: https:/
* Meltdown, Spectre and Ubuntu: What are the attack vectors, /ubu.one/ u2Know
how the fixes work, and everything else you need to know
- https:/
Get cloud support with Ubuntu Advantage Cloud Guest: www.ubuntu. com/business/ services/ cloud
http://
0 packages can be updated.
0 updates are security updates.
Last login: Fri Mar 2 15:51:05 2018 from 67.174.121.94 sru-test: ~# dpkg-query --show cloud-init gf576b2a2- 0ubuntu1~ 17.10.1 sru-test: ~# # add proposed sru-test: ~# rel=$(lsb_release -sc); sru-test: ~# line=$(awk '$1 == "deb" && $2 ~ /ubuntu.com/ { sources. list); sru-test: ~# echo "$line" | sudo tee /etc/apt/ sources. list.d/ proposed. list us-central1. gce.archive. ubuntu. com/ubuntu/ artful-proposed main universe sru-test: ~# sudo apt-get update -q;
root@artful-
cloud-init 17.2-35-
root@artful-
root@artful-
root@artful-
> printf("%s %s %s-proposed main universe\n", $1, $2, rel); exit(0) };
> ' "rel=$rel" /etc/apt/
root@artful-
deb http://
root@artful-
Hit:1 http:// us-central1. gce.archive. ubuntu. com/ubuntu artful InRelease us-central1. gce.archive. ubuntu. com/ubuntu artful-updates InRelease [78.6 kB] us-central1. gce.archive. ubuntu. com/ubuntu artful-backports InRelease [72.2 kB] us-central1. gce.archive. ubuntu. com/ubuntu artful-proposed InRelease [235 kB] sru-test: ~# sudo apt-get install cloud-init; us-central1. gce.archive. ubuntu. com/ubuntu artful- proposed/ main amd64 cloud-init all 17.2-35- gf576b2a2- 0ubuntu1~ 17.10.2 [342 kB] gf576b2a2- 0ubuntu1~ 17.10.2) ... sru-test: ~# # Reboot 'clean' allowing new cloud-init to run against a fresh system sru-test: ~# sudo cloud-init clean --reboot --logs compute. ssh) [/usr/bin/ssh] exited with return code [255]. @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@
Get:2 http://
Get:3 http://
Get:4 http://
...
Reading package lists...
root@artful-
...
The following packages will be upgraded:
cloud-init
1 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 342 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Get:1 http://
...
Setting up cloud-init (17.2-35-
root@artful-
root@artful-
Connection to 35.184.113.47 closed by remote host.
Connection to 35.184.113.47 closed.
ERROR: (gcloud.
Connection to 35.184.113.47 closed by remote host.
Connection to 35.184.113.47 closed.
No zone specified. Using zone [us-central1-b] for instance: [artful-sru-test].
@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@
...
Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-36-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/advantage
* Management: https:/
* Support: https:/
* Meltdown, Spectre and Ubuntu: What are the attack vectors, /ubu.one/ u2Know
how the fixes work, and everything else you need to know
- https:/
Get cloud support with Ubuntu Advantage Cloud Guest: www.ubuntu. com/business/ services/ cloud
http://
14 packages can be updated.
2 updates are security updates.
Last login: Fri Mar 2 16:43:32 2018 from 67.174.121.94 -init 17.2-35- gf576b2a2- 0ubuntu1~ 17.10.2 init/instance- data.json "ds/user-data" data\": \"#cloud- config\ \nhostname: SRU-worked\\n\"}", ZpZwpob3N0bmFtZ TogU1JVLXdvcmtl ZAo=", SRU-worked: ~# sudo cloud-init status --long cloud-init*
root@SRU-worked:~# dpkg-query --show cloud-initcloud
root@SRU-worked:~# # <--- Note proper user-data hostname
root@SRU-worked:~# sudo grep user-data /run/cloud-
"instance-data": "{\"user-
"user-data": "I2Nsb3VkLWNvbm
root@SRU-worked:~# # ^ user-data populated with b64encoded contentroot@
gstatus: done
time: Fri, 02 Mar 2018 16:45:22 +0000
detail:
DataSourceGCE
root@SRU-worked:~# grep Trace /var/log/
root@SRU-worked:~#