Qudata.ai
SSH Keys
Create and use SSH keys
What is an SSH key?
An SSH key is a pair of cryptographic keys (private and public) used for secure passwordless server login.
- Public key is added to your account and then attached to an instance.
- Private key is stored by you and used for authentication.
Benefits: stronger security, no password entry, easier automation.
Внимание
Never share your private SSH key. Treat it like sensitive payment credentials.
Create your first SSH key
-
Generate a key pair:
ssh-keygen -
Enter file name for keys (or press Enter to keep default), then optionally set passphrase:
Enter file in which to save the key (/root/.ssh/id_rsa): <File name> Enter passphrase (empty for no passphrase): <Passphrase> Enter same passphrase again: <Passphrase again> -
Read the public key:
cat /root/.ssh/id_rsa.pub -
Copy the value starting with
ssh-rsa, then open SSH keys and click Add new SSH key.
-
Generate a key pair:
ssh-keygen -
Enter file name for keys (or press Enter to keep default), then optionally set passphrase:
Enter file in which to save the key (C:\Users\<User>\.ssh\id_rsa): <File name> Enter passphrase (empty for no passphrase): <Passphrase> Enter same passphrase again: <Passphrase again> -
Read the public key:
type C:\Users\<User>\.ssh\id_rsa.pub -
Copy the value starting with
ssh-rsa, then open SSH keys and click Add new SSH key.