DWShells: SSH Key Authentication: Difference between revisions
Created page with "= π DWShells: SSH Key Authentication = Setting up SSH key authentication allows you to connect to your DWShell securely without typing your password each time. Itβs faster, safer, and strongly recommended for all users. == Contents == # What Are SSH Keys? # Generating SSH Keys on Linux/macOS # Generating SSH Keys on Windows (PuTTYgen) # #Uploading You..." |
(No difference)
|
Revision as of 15:19, 11 October 2025
π DWShells: SSH Key Authentication
Setting up SSH key authentication allows you to connect to your DWShell securely without typing your password each time. Itβs faster, safer, and strongly recommended for all users.
Contents
- What Are SSH Keys?
- Generating SSH Keys on Linux/macOS
- Generating SSH Keys on Windows (PuTTYgen)
- Uploading Your Public Key to DWShells
- Connecting with Your SSH Key
π What Are SSH Keys?
SSH keys are a pair of cryptographic keys β a public key and a private key β used for secure authentication. The **public key** is stored on the server (DWShells), and the **private key** stays on your computer.
When you connect, the server verifies your identity using the private key β no password needed.
π§ Generating SSH Keys on Linux/macOS
- Open your terminal.
- Run the following command:
ssh-keygen -t ed25519 -C "your_email@example.com"
- You can replace
ed25519withrsa(e.g.,rsa -b 4096) if preferred.
- When prompted for a file path, press **Enter** to accept the default (usually
~/.ssh/id_ed25519). - Optionally set a passphrase for extra protection.
- After completion, your keys will be located here:
~/.ssh/id_ed25519 β Private key ~/.ssh/id_ed25519.pub β Public key
To display your public key:
cat ~/.ssh/id_ed25519.pub
Copy the full key text (starts with ssh-ed25519 or ssh-rsa).
πͺ Generating SSH Keys on Windows (PuTTYgen)
- Download and run PuTTYgen.
- In the "Parameters" section, select:
* Type of key to generate: RSA * Number of bits in a generated key: 4096
- Click Generate and move your mouse randomly in the blank area to create entropy.
- Once generated:
* Click Save private key β save as private.ppk
* Copy the entire Public key for pasting into OpenSSH authorized_keys file
- Optionally, click Save public key for backup.
π€ Uploading Your Public Key to DWShells
Send your **public key** (the contents of your id_ed25519.pub or PuTTYgen public key) to the DWShells admin team via:
- IRC message to @DWRequest bot, or
- Email to support@darkworld.network
Once verified, your key will be added to your account under:
/home/username/.ssh/authorized_keys
π Connecting with Your SSH Key
Linux/macOS
Use:
ssh your_username@dwshells.darkworld.network
If your private key is stored in a custom path, use:
ssh -i /path/to/your/private_key your_username@dwshells.darkworld.network
Windows (PuTTY)
- Open PuTTY.
- Go to Connection β SSH β Auth.
- Click Browse and select your private key file (
private.ppk). - Return to Session and connect to:
Host Name: dwshells.darkworld.network Port: 22 Connection type: SSH
- Click Open to connect using your key.
β Next Steps
- If you havenβt yet connected via SSH, follow: DWShells: SSH Connection Guide
- For troubleshooting, see: DWShells: FAQ