1.3.0 • Published 6 months ago
generate-ssh-key v1.3.0
SSH Key Generator
Generate a secure SSH key and configure Git with one command
Usage
npx generate-ssh-key
Features
- 🔑 Generates ED25519 SSH key pair if one doesn't exist
- 🖥️ Works on Windows, macOS, and Linux
- 📋 Automatically copies public key to clipboard
- 🛠️ Automatically installs OpenSSH on Windows if needed
- 🔒 Sets correct permissions on .ssh directory
- ✨ Checks for Git installation and provides setup instructions
- 👤 Helps configure Git user name and email if missing
- 🔄 Automatically converts repository URLs to SSH format
- 🚀 Automatically uploads key to GitHub if GitHub CLI is installed
- 💡 Provides helpful next steps