GoogleCloudPlatform/compute-ssh-diagnostic-sh

Limited info?

Closed this issue · 1 comments

I botched a VM upgrading ubuntu 14.05 to 16.04. Think I messed up SSHd.

Tried this script for an idea of what was up, but got very limited output. Is this expected?

May 21 12:28:36 wordpress-1 google: startup-script-url metadata flag: http://storage.googleapis.com/gce-scripts/gee.sh
May 21 12:28:36 wordpress-1 google: Downloading url from http://storage.googleapis.com/gce-scripts/gee.sh to /var/run/google.startup.script 
using gsutil
May 21 12:28:39 wordpress-1 google: Successfully downloaded startup script http://storage.googleapis.com/gce-scripts/gee.sh.
May 21 12:28:39 wordpress-1 startupscript: Running startup script /var/run/google.startup.script
May 21 12:28:39 wordpress-1 sshd[1706]: Did not receive identification string from 127.0.0.1
May 21 12:28:39 wordpress-1 sshd[1763]: debug1: sshd version OpenSSH_7.2, OpenSSL 1.0.2g-fips  1 Mar 2016
May 21 12:28:39 wordpress-1 sshd[1763]: debug1: private host key #0: ssh-rsa SHA256:xxxxx
May 21 12:28:39 wordpress-1 sshd[1763]: debug1: private host key #1: ssh-dss SHA256:xxxxx
May 21 12:28:39 wordpress-1 sshd[1763]: debug1: private host key #2: ecdsa-sha2-nistp256 SHA256:xxxxxx
May 21 12:28:39 wordpress-1 sshd[1763]: debug1: private host key #3: ssh-ed25519 SHA256:xxxxx
May 21 12:28:40 wordpress-1 startupscript: Finished running startup script /var/run/google.startup.script
May 21 12:28:40 wordpress-1 systemd[1]: Started Google Compute Engine user startup scripts.
May 21 12:28:40 wordpress-1 systemd[1]: Reached target Multi-User System.
May 21 12:28:40 wordpress-1 systemd[1]: Reached target Graphical Interface.
May 21 12:28:40 wordpress-1 systemd[1]: Starting Update UTMP about System Runlevel Changes...
May 21 12:28:40 wordpress-1 systemd[1]: Started Update UTMP about System Runlevel Changes.
May 21 12:28:40 wordpress-1 systemd[1]: Startup finished in 8.389s (kernel) + 14.790s (userspace) = 23.180s.
feczo commented

This should work now, feel free to reopen if it does not.