🛡️ Access Shield Pro v1.2 released - Now with Spamhaus & Emerging Threats feeds
🤖 AI Support Assistant 2.1 - GPT-5 & Claude Opus 4.1 support, auto-signatures, improved error handling.
🧮 Recalculate Prices v1.2 - Fixed addon pricing, enhanced safety checks, full billing cycle support.
🔧 PowerDNS Manager v1.11 - Enhanced logging security with better data sanitization, improved debug output handling, bug fixes.

Setting Up SSH Keys on Debian/Ubuntu Print

  • 0

SSH keys provide a secure way to log in to your Linux server without using a password.

Generate SSH Key Pair

  1. Open terminal
  2. Run this command:
    ssh-keygen -t ed25519 -C "your_email@example.com"
  3. Press Enter to save the key in the default location
  4. Enter a passphrase (recommended) or leave empty

Copy Public Key to Server

Use either method:

Method 1: ssh-copy-id

ssh-copy-id username@server_ip

Method 2: Manual copy

  1. View your public key:
    cat ~/.ssh/id_ed25519.pub
  2. Connect to your server:
    ssh username@server_ip
  3. Create SSH directory:
    mkdir -p ~/.ssh
    chmod 700 ~/.ssh
  4. Add your key:
    echo "public_key_string" >> ~/.ssh/authorized_keys
    chmod 600 ~/.ssh/authorized_keys

Test Connection

ssh username@server_ip

You should connect without needing a password.


Was this answer helpful?

« Back

WHOIS Information

×
Loading WHOIS information...