Generating SSH Key
To securely access your Virtual Machine
on Qubrid AI platform, you'll need to generate an SSH key pair and share your public key with us. Follow the instructions based on your operating system:
Windows (Using PowerShell or Git Bash):
Step 1: Open PowerShell or Git Bash
You can use either:
- PowerShell (default Windows terminal)
- Git Bash (if installed via
Git for Windows
)
Step 2: Generate SSH Key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Expected Output -
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/YourName/.ssh/id_rsa):
info
Press Enter to accept
the default path.
- You may be asked:
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
- Press Enter twice to skip or set a passphrase.
Step 3: Locate Public Key
- With Git Bash:
cat ~/.ssh/id_rsa.pub
- With PowerShell:
type $env:USERPROFILE\.ssh\id_rsa.pub
Step 4: Copy and Share
Copy the entire output of the .pub file and share it with the platform team.
Ubuntu or Linux (Debian-based, Fedora, Arch, etc.)
Step 1: Open Terminal
Keyboard shortcut: Ctrl + Alt + T
Step 2: Generate SSH Key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Expected Output
Generating public/private rsa key pair.
Enter file in which to save the key (/home/yourname/.ssh/id_rsa):
If prompted:
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
tip
Press Enter
to accept defaults.
Enter a passphrase, or press Enter
twice to skip.
Step 3: View the Public Key
cat ~/.ssh/id_rsa.pub
Step 4: Copy and Share
Copy the full output and share it.
MacOS
Step 1: Open Terminal
Use Spotlight (Cmd + Space), type "Terminal," and select it.
Step 2: Generate SSH Key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Expected Output
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/yourname/.ssh/id_rsa):
- Press
Enter
to accept default.
then ->
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
info
Press Enter
to skip or add a passphrase.
Step 3: View the Public Key
cat ~/.ssh/id_rsa.pub
Step 4: Copy and Share
- Copy and share the
.pub
content as required.
Additional Note
caution
- Do not share your private key (
id_rsa
). Only the public key (id_rsa.pub
) is safe to share. - If the
.ssh
directory does not exist, it will be created during the process. - You may repeat this process to overwrite or specify a custom file name for a new key pair.