Accessing FTP on Google Compute Engine

前端 未结 6 1916
余生分开走
余生分开走 2021-02-02 14:34

I\'m running an instance on debian-7-wheezy and I\'m sort of new to the Google Compute Engine. I have looked through both the support requests on this site and the FAQ post on t

6条回答
  •  旧时难觅i
    2021-02-02 15:14

    To generate a new SSH key-pair on Windows workstations:

    1. Download puttygen.exe.
    2. Run PuTTYgen. For this example, simply run the puttygen.exe file that you downloaded. A window opens where you can configure your key generation settings.
    3. Click the Generate button to generate a new key-pair. For most cases, the default parameters are fine. When you are done generating the key-pair, the tool displays your public key value.
    4. In the Key comment section, enter your Google username. The key should have the following structure:

      ssh-rsa [KEY_VALUE] [USERNAME] where:

      [KEY_VALUE] is the key value that you generated. [USERNAME] is your Google username.

    5. Optionally, enter a Key passphrase to protect your key.
    6. Click Save private key to save the private key to a file. For this example, save the key as my-ssh-key.ppk.
    7. Click Save public key to write your public key to a file for use later. Keep the PuTTYgen window open for now.
    8. Go to the metadata page for your project.

    9. Click SSH Keys to show a list of project-wide public SSH keys. Click the Edit button so that you can modify the public SSH keys in your project.

    10. Copy the entire public key value from the PuTTYgen tool and paste that value as a new item in the list of SSH keys on the Metadata page. The public key value is available at the top of the PuTTYgen screen:
    11. click Save to save your new project-wide SSH key. The public key is now set to work across all of the instances in your project. Use FileZila/Putty to connect to your instances as demonstrated in the videos now.

提交回复
热议问题