Skip to content

Releases: dustinkirkland/ssh-import-id

ssh-import-id 5.13 - GitLab Support

16 Feb 01:01

Choose a tag to compare

ssh-import-id 5.13

🎉 New Features

GitLab Support

This release adds comprehensive GitLab support to ssh-import-id!

  • New gl: prefix - Import keys from GitLab users
  • GitLab.com support - Works out of the box
  • Self-hosted GitLab - Use GITLAB_URL environment variable
  • Wrapper script - New ssh-import-id-gl command
  • Multi-platform - Mix GitHub, GitLab, and Launchpad in one command

📖 Usage

Basic Usage

# Import from GitLab.com
ssh-import-id gl:username

# Import from self-hosted GitLab
GITLAB_URL=https://gitlab.company.com ssh-import-id gl:username

# Mix multiple platforms
ssh-import-id gh:alice lp:bob gl:charlie

Using the Wrapper Script

ssh-import-id-gl username

🔧 Technical Details

  • Uses GitLab's standard <instance>/<username>.keys endpoint
  • HTTPS with SSL/TLS certificate validation
  • 15-second timeout for network requests
  • Proper error handling for 404 and network errors
  • Keys tagged with @gitlab identifier

🛡️ Security

This release builds on v5.12 which included critical security fixes:

  • Command injection prevention in shell wrappers
  • Format string vulnerability fixes
  • Path traversal protection

All users should upgrade to 5.13 or later.

🙏 Acknowledgments

Special thanks to:

📦 Installation

# Ubuntu/Debian
sudo apt install ssh-import-id

# PyPI
pip install ssh-import-id

# From source
git clone https://github.com/dustinkirkland/ssh-import-id.git
cd ssh-import-id
sudo python3 setup.py install

🔗 Links


Released: February 15, 2026
Commit: dbaaaf1