All Guides
SSH Key Generation and Usage
Create an SSH key pair and establish passwordless secure connections to servers.
Beginner10 min
Setup Steps
1. Generate an SSH key pair:
ssh-keygen -t ed25519 -C "email@example.com"2. Accept the default location (~/.ssh/id_ed25519)
3. Set a passphrase (recommended)
4. View the public key:
cat ~/.ssh/id_ed25519.pub5. Copy the key to the server:
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@server_ip6. Now you can connect without a password:
ssh user@server_ip7. Create an SSH config file (~/.ssh/config):
Host myserver
HostName 192.168.1.100
User username
Port 22
IdentityFile ~/.ssh/id_ed255198. Connect with a short command:
ssh myserver9. SSH agent usage:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed2551910. Add SSH key to GitHub:
GitHub > Settings > SSH and GPG keys > New SSH key
Related Guides
Git and GitHub Setup
Install Git version control system and manage projects with GitHub.
VS Code Setup and Extensions
Install Visual Studio Code editor and enhance it with developer extensions.
Node.js App Management with PM2
Manage your Node.js applications in production with PM2 process manager.
GitHub Actions CI/CD Setup
Create an automated test, build and deploy pipeline with GitHub Actions.