A cross-platform GUI tool built with Go and Fyne that allows you to manage multiple GitHub SSH keys effortlessly. Generate keys, view public keys, upload to GitHub, test SSH connections, manage your ~/.ssh/config, and track all operations with built-in activity loggingβall from one place.
- Features
- Screenshots
- Installation
- Running from Source
- Project Structure
- Working Flow
- Building from Source
- Usage Instructions
- Uninstallation
- Dependencies
- Troubleshooting
- License
- Generate SSH Keys β Create
ed25519SSH keys for multiple GitHub accounts - Show Public Key β View and copy your public key to clipboard
- Upload to GitHub β Upload your public key via a Personal Access Token (PAT)
- Test SSH Connection β Verify SSH connection to GitHub for each account
- View SSH Config β Inspect your
~/.ssh/configin a polished modal - Activity Logger β Track all operations with timestamps and log levels
- Export Logs β Save activity logs to file for debugging or record-keeping
- Multi-account Support β Manage multiple GitHub accounts using custom account names
- Cross-platform β Works on Linux, macOS, and Windows
- Built-in Help β Step-by-step instructions accessible via the Help button
Enter your account name, host alias, and PAT, then generate or manage SSH keys easily.
Generate SSH KEY with automatic config file updates.
View your public key and copy it to clipboard.
Upload to GitHub with Personal Access Token (PAT Classic).
SSH Connection test with successful authentication.
View and copy your SSH configuration.
Track all operations with detailed logging and export capability.
Comprehensive user instructions with clickable links.
Download the .deb package from the releases page.
# Download the latest release (replace version number)
wget https://github.com/Sarwarhridoy4/github-ssh-manager/releases/download/v2.5/github-ssh-manager_2.5_amd64.deb
# Install the package
sudo dpkg -i github-ssh-manager_2.5_amd64.deb
# Fix dependencies if needed
sudo apt-get install -fPackage Name: github-ssh-manager
After installation, you can launch the app from your application menu or by running:
github-ssh-managerdpkg -l | grep github-ssh-managerAppImage is a universal Linux package that runs on most distributions without installation.
# Download the latest release
wget https://github.com/Sarwarhridoy4/github-ssh-manager/releases/download/v2.5/github-ssh-manager-2.5-x86_64.AppImage
# Make it executable
chmod +x github-ssh-manager-2.5-x86_64.AppImage
# Run the application
./github-ssh-manager-2.5-x86_64.AppImageIf you encounter FUSE errors, you can extract and run without FUSE:
# Extract the AppImage
./github-ssh-manager-2.5-x86_64.AppImage --appimage-extract
# Run the extracted binary
./squashfs-root/AppRunNote: AppImages require FUSE to run normally. Install FUSE if needed:
sudo apt-get install fuse libfuse2For more information, see FUSE Documentation.
# Download the .app bundle from releases
wget https://github.com/Sarwarhridoy4/github-ssh-manager/releases/download/v2.5/github-ssh-manager.app.zip
# Extract
unzip github-ssh-manager.app.zip
# Move to Applications folder
mv github-ssh-manager.app /Applications/
# Run
open /Applications/github-ssh-manager.appNote: On first launch, you may need to allow the app in System Preferences > Security & Privacy.
# Download the .exe from releases
# Double-click to run or use command line:
github-ssh-manager.exeNote: Windows Defender may show a warning on first run. Click "More info" β "Run anyway" if you trust the source.
- Go >= 1.25
- Git
- SSH tools (
ssh-keygen,ssh) - Fyne dependencies (handled automatically via Go modules)
git clone https://github.com/Sarwarhridoy4/github-ssh-manager.git
cd github-ssh-manager
go mod tidy
go run .The GUI window will open, allowing you to manage your GitHub SSH keys.
github-ssh-manager/
βββ main.go # App bootstrap and startup wiring
βββ internal/
β βββ ui/ # Fyne UI layout, widgets, dialogs, event handlers
β βββ ssh/ # SSH key generation, config, known_hosts, testing
β βββ github/ # GitHub REST API client for SSH key upload
β βββ validation/ # Input validation and security checks
β βββ logging/ # In-memory activity logger
β βββ theme/ # Theme switching (System/Light/Dark)
βββ assets/
β βββ icon.png
βββ screenshots/
βββ build.sh
βββ build.ps1
βββ go.mod
βββ README.md
flowchart TD
A[Launch App] --> B[Resolve ~/.ssh Path Cross-Platform]
B --> C[Create/Verify .ssh Directory]
C --> D[User Inputs Account Name + Host Alias + PAT]
D --> E{Action Selected}
E -->|Generate Key| F[Validate Account Name + Host Alias]
F --> G[Run ssh-keygen for id_ed25519_account-name]
G --> H[Ensure github.com in known_hosts]
H --> I[Append/Ensure Host Block in ~/.ssh/config]
I --> J[Log Success + Update Status]
E -->|Show Public Key| K[Read id_ed25519_account-name.pub]
K --> L[Open Public Key Modal]
E -->|Upload to GitHub| M[Validate Inputs + Token]
M --> N[Read Public Key]
N --> O[POST /user/keys to GitHub API]
O --> P{Upload Result}
P -->|Success| Q[Show Success Modal + Clear Token Field]
P -->|Failure| R[Show Error Modal + Log Error]
E -->|Test SSH| S[Run ssh -T git@host-alias]
S --> T{Authenticated?}
T -->|Yes| U[Show Success Modal]
T -->|No| V[Show Error Modal]
E -->|View Config| W[Open SSH Config Modal]
E -->|Instructions| X[Open Help Modal]
E -->|Theme| Y[Apply System or Forced Light/Dark Theme]
GOOS=linux GOARCH=amd64 go build -o github-ssh-managerGOOS=darwin GOARCH=amd64 go build -o github-ssh-managerGOOS=windows GOARCH=amd64 go build -o github-ssh-manager.exeFor production-ready packages with icons, metadata, and installer formats:
# Install Fyne CLI
go install fyne.io/tools/cmd/fyne@latest
# For Linux packages, also install:
sudo apt-get install dpkg-dev imagemagick wget fuse libfuse2We provide a comprehensive build script that creates .deb, .AppImage, and .tar.gz packages in one run:
# Make the script executable
chmod +x build.sh
# Run the build
./build.shThe script follows the official Fyne packaging approach and will auto-install missing dependencies using your system package manager.
Outputs in dist/:
github-ssh-manager_<version>_<arch>.debβ Debian packagegithub-ssh-manager-<version>-<arch>.AppImageβ Universal Linux packagegithub-ssh-manager-<version>-<arch>.tar.gzβ Fyne-standard tarballSHA256SUMS/MD5SUMSβ Checksums for verification
Notes:
- If
appimagetoolis missing, it is downloaded automatically tobuild/tools/. - FUSE is required for running AppImage; for building,
appimagetoolcan run with--appimage-extractfallback.
fyne package --os linux \
--icon assets/icon.png \
--name "GitHub SSH Manager" \
--app-id "com.sarwarhridoy4.github-ssh-manager" \
--app-version 2.5 \
--releasefyne package --os darwin \
--icon assets/icon.png \
--name "GitHub SSH Manager" \
--app-id "com.sarwarhridoy4.github-ssh-manager" \
--app-version 2.5 \
--releasefyne package --os windows \
--icon assets/icon.png \
--name "GitHub SSH Manager" \
--app-id "com.sarwarhridoy4.github-ssh-manager" \
--app-version 2.5 \
--releaseTo install your development build system-wide:
fyne install --icon assets/icon.png- Go to GitHub Token Settings
- Click "Generate new token (classic)"
- Select the following scopes:
- β
admin:public_key(read and write) - β
repo(optional, for private repos)
- β
- Generate and copy the token
- Enter an account name (e.g.,
personal,work,company) - Enter a host alias (e.g.,
github-personal,github-work) - Click "Generate SSH Key"
- The key will be created at
~/.ssh/id_ed25519_<account-name>
- Enter the account name you used
- Click "Show Public Key"
- Copy the key to clipboard using the copy button
- Paste your Personal Access Token (PAT)
- Click "Upload to GitHub"
- Your public key will be uploaded with the title:
<account-name>-<host-alias>
- Enter your host alias
- Click "Test SSH Connection"
- A successful connection will show: "Hi <username>! You've successfully authenticated..."
- Click "View SSH Config"
- Review your
~/.ssh/configfile - Copy the entire config if needed
- All operations are logged in the Activity Log section
- Logs include timestamps and severity levels (INFO, SUCCESS, ERROR, WARNING)
- Click "Save Log" to export logs to a file
- Click "Clear Log" to clear the current session logs
- Click "Help & Instructions" for detailed step-by-step guidance
- Includes a direct link to GitHub token settings
To uninstall the Debian package:
sudo dpkg -r github-ssh-managerOr to remove completely including configuration files:
sudo dpkg --purge github-ssh-managerVerify removal:
dpkg -l | grep github-ssh-managerPackage Name: github-ssh-manager
Simply delete the AppImage file:
rm github-ssh-manager-2.5-x86_64.AppImageIf you extracted it:
rm -rf squashfs-root/# Remove from Applications
rm -rf /Applications/github-ssh-manager.app
# Remove preferences (optional)
rm -rf ~/Library/Preferences/com.sarwarhridoy4.githubsshmanager.plist- Delete the executable file
github-ssh-manager.exe - Remove any shortcuts you created
If you want to remove SSH keys created by the app:
# List keys created by the app
ls ~/.ssh/id_ed25519_*
# Remove specific key (replace <account-name> with your account name)
rm ~/.ssh/id_ed25519_<account-name>
rm ~/.ssh/id_ed25519_<account-name>.pub
# Remove from GitHub (via web interface or API)- System SSH tools:
ssh-keygen,ssh,ssh-keyscan - FUSE (Linux AppImage only): For mounting AppImage files
- Go >= 1.22
- Fyne v2.8+
- Fyne Tools (for packaging)
All Go dependencies are managed via go.mod and installed automatically:
go mod tidy
go mod downloadKey modules:
fyne.io/fyne/v2- GUI framework- Standard library packages for crypto, networking, and file operations
This error occurs when trying to run an AppImage without FUSE installed.
Solution 1 - Install FUSE:
sudo apt-get update
sudo apt-get install fuse libfuse2Solution 2 - Extract and Run:
./github-ssh-manager-2.5-x86_64.AppImage --appimage-extract
./squashfs-root/AppRunFor more information: FUSE Documentation
Make sure you use sudo:
sudo dpkg -i github-ssh-manager_2.5_amd64.debFix missing dependencies:
sudo apt-get install -fThis is a Gatekeeper security feature. To allow the app:
# Remove quarantine attribute
xattr -d com.apple.quarantine /Applications/github-ssh-manager.app
# Or allow in System Preferences
# System Preferences > Security & Privacy > General > Open AnywayThis is Windows Defender SmartScreen. If you trust the source:
- Click "More info"
- Click "Run anyway"
- Verify the host alias matches what's in your
~/.ssh/config - Ensure the public key is uploaded to GitHub
- Check GitHub Settings > SSH and GPG keys
- Test manually:
ssh -T git@<your-host-alias>
- Verify you've generated the key first
- Check the account name matches exactly (case-sensitive)
- Verify file exists:
ls ~/.ssh/id_ed25519_<account-name>.pub
Install Fyne CLI tools:
go install fyne.io/tools/cmd/fyne@latest
export PATH=$PATH:$(go env GOPATH)/bin- SSH keys are saved under
~/.ssh/id_ed25519_<account-name> - Public keys are named
~/.ssh/id_ed25519_<account-name>.pub - Host entries are automatically added to
~/.ssh/config - GitHub public key titles are formatted as:
<account-name>-<host-alias> - Activity logs are stored in memory and can be exported
- The app requires network access for GitHub API operations
- Minimum screen resolution: 800x600 (recommended: 1024x768+)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
- Fyne - The GUI toolkit that makes this possible
- Go - The programming language
- GitHub API for SSH key management
- The open-source community
- π Bug Reports: GitHub Issues
- π‘ Feature Requests: GitHub Issues
- π Documentation: GitHub Wiki
- π¬ Discussions: GitHub Discussions
Made with β€οΈ by Sarwar Hossain



.png)



