Differences

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

guide_google_compute_engine 2021-02-05 guide_google_compute_engine 2024-05-22 (current)
Line 16: Line 16:
  * 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]].   * 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). 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 example shows SHA-256 and MD5 fingerprints of Ed25519 hostkey: \\ <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 example shows SHA-256 and MD5 fingerprints of Ed25519 hostkey: \\ <code bash>sudo ssh-keygen -l -f /etc/<nohilite>ssh</nohilite>/ssh_host_ed25519_key 
-sudo ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key -E md5+sudo ssh-keygen -l -f /etc/<nohilite>ssh</nohilite>/ssh_host_ed25519_key -E md5
</code> &screenshotpict(gce_hostkey) </code> &screenshotpict(gce_hostkey)
Line 23: Line 23:
  * [[ui_puttygen#reloading|Load your private key]] to PuTTYgen;   * [[ui_puttygen#reloading|Load your private key]] to PuTTYgen;
-  * Enter your GCE username((If you do not know your username, it's typically your Google account email address)) (or any other account name you want to be created) to //Key comment// box. Note what account name does the console extract out of that username (it will typically drop everything after ''@'').+  * Enter the username·(an existing one or any other account name you want to be created) to the //Key comment// box.
  * Copy a contents of //Public key for pasting into OpenSSH authorized_keys file// to the clipboard (note that the contents includes your username);   * Copy a contents of //Public key for pasting into OpenSSH authorized_keys file// to the clipboard (note that the contents includes your username);
  * Go to //Metadata// page of your project on Google Cloud Platform;   * Go to //Metadata// page of your project on Google Cloud Platform;

Last modified: by martin