←Back to Work

Desktop Application

GitHub SSH Manager

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.

GoFyneGithub API

GitHub SSH Manager

A cross-platform GUI application built with Go and Fyne for managing multiple GitHub SSH accounts from one place.

Generate SSH keys, configure SSH aliases, upload public keys to GitHub, test connections, view your SSH configuration, and track operations with built-in activity logs.

Go Fyne License Platform

✨ Features

  • 🔑 Generate Ed25519 SSH keys
  • 👥 Manage multiple GitHub accounts
  • ⚙️ Automatically manage ~/.ssh/config
  • ☁️ Upload public keys to GitHub using a Personal Access Token
  • 🔌 Test GitHub SSH authentication
  • 📋 View and copy public keys
  • 📊 Built-in activity logging
  • 💾 Export activity logs
  • 🌓 System, Light, and Dark themes
  • 🌍 Linux, macOS, and Windows support
  • 📖 Built-in help and instructions

🖼️ Screenshots

Main Window

Main Window

Generate Key

Generate Key

Public Key

Public Key

Upload to GitHub

Upload

SSH Test

SSH Test

SSH Config

SSH Config

Activity Log

Activity Log

Help

Help

📦 Installation

Debian / Ubuntu

Download the latest .deb package from Releases.

sudo dpkg -i github-ssh-manager_2.5_amd64.deb
sudo apt-get install -f

Run:

github-ssh-manager

AppImage

chmod +x github-ssh-manager-2.5-x86_64.AppImage
./github-ssh-manager-2.5-x86_64.AppImage

If FUSE is unavailable:

./github-ssh-manager-2.5-x86_64.AppImage --appimage-extract
./squashfs-root/AppRun

macOS

Download the .app bundle from Releases, extract it, move it to /Applications, then run:

open /Applications/github-ssh-manager.app

Windows

Download the .exe release and run it normally.

🛠️ Run from Source

Requirements

  • Go >= 1.25
  • Git
  • ssh
  • ssh-keygen
  • ssh-keyscan
  • Fyne dependencies
git clone https://github.com/Sarwarhridoy4/github-ssh-manager.git
cd github-ssh-manager
go mod tidy
go run .

📁 Project Structure

github-ssh-manager/
├── main.go
├── internal/
│   ├── ui/             # Fyne UI
│   ├── ssh/            # SSH management
│   ├── github/         # GitHub API
│   ├── validation/     # Validation/security
│   ├── logging/        # Activity logger
│   └── theme/          # Theme management
├── assets/
├── screenshots/
├── build.sh
├── build.ps1
├── go.mod
└── README.md

🔄 Workflow

🔨 Build

Basic Builds

Linux:

GOOS=linux GOARCH=amd64 go build -o github-ssh-manager

macOS:

GOOS=darwin GOARCH=amd64 go build -o github-ssh-manager

Windows:

GOOS=windows GOARCH=amd64 go build -o github-ssh-manager.exe

Packaging

Install Fyne tools:

go install fyne.io/tools/cmd/fyne@latest

Linux packaging dependencies:

sudo apt-get install dpkg-dev imagemagick wget fuse libfuse2

Build packages:

chmod +x build.sh
./build.sh

The build script can generate .deb, .AppImage, .tar.gz, and checksum files.

📖 Usage

1. Create a GitHub Token

Create a GitHub Personal Access Token from:

https://github.com/settings/tokens

For SSH key management, enable:

  • admin:public_key
  • repo — optional

2. Generate a Key

Enter an account name such as:

personal
work
company

Choose a host alias such as:

github-personal
github-work

Click Generate SSH Key.

Keys are stored as:

~/.ssh/id_ed25519_<account-name>
~/.ssh/id_ed25519_<account-name>.pub

The application also creates or updates the corresponding SSH host configuration.

3. Upload the Key

Enter your GitHub Personal Access Token and click Upload to GitHub.

The key title uses:

<account-name>-<host-alias>

The token is cleared after a successful upload.

4. Test SSH

Use the configured host alias:

ssh -T git@github-personal

The application can perform this test automatically.

5. View Configuration

Use View SSH Config to inspect and copy your current SSH configuration.

6. Activity Logs

The Activity Log records:

  • INFO
  • SUCCESS
  • WARNING
  • ERROR

Logs can be exported or cleared from the application.

🗑️ Uninstallation

Debian / Ubuntu

sudo dpkg -r github-ssh-manager

Complete removal:

sudo dpkg --purge github-ssh-manager

AppImage

Simply delete the AppImage:

rm github-ssh-manager-2.5-x86_64.AppImage

macOS

rm -rf /Applications/github-ssh-manager.app

Windows

Delete the .exe and any shortcuts.

Remove Generated SSH Keys

rm ~/.ssh/id_ed25519_<account-name>
rm ~/.ssh/id_ed25519_<account-name>.pub

Remove the corresponding public key from GitHub separately.

🔧 Troubleshooting

AppImage FUSE Error

sudo apt-get update
sudo apt-get install fuse libfuse2

Or extract the AppImage:

./github-ssh-manager-2.5-x86_64.AppImage --appimage-extract
./squashfs-root/AppRun

.deb Dependency Error

sudo apt-get install -f

SSH Test Fails

Check:

  1. The host alias in ~/.ssh/config
  2. The SSH key exists
  3. The public key is uploaded to GitHub
  4. GitHub SSH settings

Test manually:

ssh -T git@<host-alias>

Public Key Not Found

ls ~/.ssh/id_ed25519_<account-name>.pub

Make sure the account name exactly matches the generated key.

📌 Notes

  • Private keys remain on your local machine.
  • Public keys are uploaded only when you explicitly choose to upload them.
  • SSH configuration is stored in ~/.ssh/config.
  • Activity logs are kept in memory and can be exported.
  • GitHub API operations require network access.
  • Recommended screen resolution: 1024×768 or higher.

🤝 Contributing

Contributions are welcome!

git checkout -b feature/my-feature

Make your changes, commit them, push the branch, and open a Pull Request.

📄 License

This project is licensed under the MIT License. See LICENSE.

🙏 Acknowledgments

  • Go
  • Fyne
  • GitHub API
  • Open-source community

📞 Support


Made with ❤️ by Sarwar Hossain