Logo
OpenScaler

How to Copy Your SSH Public Key

Retrieve the Public Key

  1. Open a terminal.
  2. Display the public key:
cat ~/.ssh/id_rsa.pub
Note

Your public key may be named differently, for example id_ed25519.pub or id_ecdsa.pub.

  1. Copy the entire output line (e.g., ssh-rsa AAAAB3Nza...).

Paste the copied key into the "SSH Keys" field when creating your VM.

Directly Copy the Key

Tip

You can copy the key directly from the terminal using clip (Windows) or pbcopy (Mac):

cat ~/.ssh/id_rsa.pub | pbcopy

On this page