Editing
DWShells: SSH Key Authentication
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= π 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?|What Are SSH Keys?]] # [[#Generating SSH Keys on Linux/macOS|Generating SSH Keys on Linux/macOS]] # [[#Generating SSH Keys on Windows (PuTTYgen)|Generating SSH Keys on Windows (PuTTYgen)]] # [[#Uploading Your Public Key to DWShells|Uploading Your Public Key to DWShells]] # [[#Connecting with Your SSH Key|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: <syntaxhighlight lang="bash"> ssh-keygen -t ed25519 -C "your_email@example.com" </syntaxhighlight> * You can replace <code>ed25519</code> with <code>rsa</code> (e.g., <code>rsa -b 4096</code>) if preferred. # When prompted for a file path, press **Enter** to accept the default (usually <code>~/.ssh/id_ed25519</code>). # Optionally set a passphrase for extra protection. # After completion, your keys will be located here: <pre> ~/.ssh/id_ed25519 β Private key ~/.ssh/id_ed25519.pub β Public key </pre> To display your public key: <syntaxhighlight lang="bash"> cat ~/.ssh/id_ed25519.pub </syntaxhighlight> Copy the full key text (starts with <code>ssh-ed25519</code> or <code>ssh-rsa</code>). == πͺ Generating SSH Keys on Windows (PuTTYgen) == # Download and run [https://www.puttygen.com/ 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 <code>private.ppk</code> * 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 <code>id_ed25519.pub</code> or PuTTYgen public key) to the DWShells admin team via: * IRC message to '''@DWRequest''' bot, or * Email to '''support@dwshells.darkworld.network''' Once verified, your key will be added to your account under: <pre>/home/shelltype(free/support)/username/.ssh/authorized_keys</pre> == π Connecting with Your SSH Key == === Linux/macOS === Use: <syntaxhighlight lang="bash"> ssh your_username@dwshells.darkworld.network </syntaxhighlight> If your private key is stored in a custom path, use: <syntaxhighlight lang="bash"> ssh -i /path/to/your/private_key your_username@dwshells.darkworld.network </syntaxhighlight> === Windows (PuTTY) === # Open PuTTY. # Go to '''Connection β SSH β Auth'''. # Click '''Browse''' and select your private key file (<code>private.ppk</code>). # Return to '''Session''' and connect to: <pre>Host Name: dwshells.darkworld.network Port: 22 Connection type: SSH </pre> # 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]]
Summary:
Please note that all contributions to DarkWorld Network may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
DarkWorld Network:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Home
DarkWorld
DWIRC
DWVPN
DWBots
DWStats
DWPaste
DWShells
DWGames
DWHosting
DWTutorials
DWBouncers
Tutorials
IRC Related Stuff
Linux Tutorials
Contact
Contact Us
Join the Team
Donation
Sponsors
Contributors
T&C | FAQ
Term of Service
FAQ
Sponsors
Tools
What links here
Related changes
Special pages
Page information