zixiba

zixiba

Google Cloud SSH Login

  1. Create a key
ssh-keygen -C username
  1. The private key password can be left unset; copy the public key from the folder to upload it.
  2. Click on Metadata ----> SSH Keys, and add the SSH public key we generated.
    image

Format without an expiration date:

  KEY_VALUE  USERNAME

Format for keys with an expiration date:

KEY_VALUE google-ssh {"userName":"USERNAME","expireOn":"EXPIRE_TIME"}

KEY_VALUE: SSH public key value
USERNAME: Your username
EXPIRE_TIME: The expiration time of the key, in ISO 8601 format. For example: 2021-12-04T20:12:00+0000

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.