Logo
OpenScaler

SSH Keys

Generate SSH keys for secure access to your OpenScaler VM. Instructions vary by operating system.

Create SSH Keys

  1. On your terminal, run:
ssh-keygen -t rsa -b 4096 -C 'your_email@example.com'
  1. Press Enter to accept the default file location (~/.ssh/id_rsa).
  2. (optional) Enter a passphrase to secure your private key.

Copy Your 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