Differences

This shows you the differences between the selected revisions of the page.

2018-02-21 2018-02-21
general update (martin) typo + fingerprint shows right on web console connect is wrong for some reason (martin)
Line 14: Line 14:
Collect information about your GCE instance: Collect information about your GCE instance:
-  * IP address: Check //External IP// column on //Compute > Compute Engine > VM Instances// page of your of your project on [[https://console.cloud.google.com/|Google Cloud Platform]].+  * IP address: Check //External IP// column on //Compute > Compute Engine > VM Instances// page of your project on [[https://console.cloud.google.com/|Google Cloud Platform]].
  * Host key fingerprint: On the first connect you will be prompted to [[ssh_verifying_the_host_key|verify a server host key]].   * Host key fingerprint: On the first connect you will be prompted to [[ssh_verifying_the_host_key|verify a server host key]].
-    * To securely acquire a fingerprint of the host key, use web-based SSH client in Google Cloud Platform (use //%%SSH%%// link on the //VM Instances// page). You will see the MD5 fingerprint of RSA host key as soon as you connect, though WinSCP will by default opt to use better host key algorithms, like Ed25519. To see a fingerprints for different algorithms or for other host key algorithms, use ''[[https://man.openbsd.org/ssh-keygen|ssh-keygen]]'' command: \\ <code>sudo ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key+    * To securely acquire a fingerprint of the host key, use web-based SSH client in Google Cloud Platform (use //%%SSH%%// link on the //VM Instances// page). In the console, use ''[[https://man.openbsd.org/ssh-keygen|ssh-keygen]]'' command to display a fingerprint of any number of host keys algorithms. The following examples shows SHA-256 and MD5 fingerprints of Ed25519 hostkey: \\ <code>sudo ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key
sudo ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key -E md5 sudo ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key -E md5
-</code> \\ &screenshotpict(gce_hostkey)+</code> &screenshotpict(gce_hostkey)
Set up %%SSH%% keys for your Google Compute account: Set up %%SSH%% keys for your Google Compute account:

Last modified: by martin