ssh-connect: CLI for SSH profiles with encrypted passwords

CLI for managing SSH profiles with encrypted passwords, key or password authentication, optional auto-login and selector with fzf; export/import in a single script.

domingo, 17 de agosto de 2025 • 3 min read • Q2BSTUDIO Team

Artificial-Intelligence-

Introducing ssh-connect, a small CLI for managing SSH profiles with encrypted passwords and a simple workflow designed for developers and teams that need order and security in their remote access.

Quick summary: passwords encrypted with OpenSSL AES-256-CBC and PBKDF2 using a master passphrase, key or password authentication, optional automatic login with sshpass, optional interactive selector with fzf, and all in a single installation script.

Main features: create, update, delete, and list profiles in the home directory slash ssh_profile slash profiles; each profile is a file with key equals value pairs; connection by name using ssh-connect space name; support for SSH key or encrypted password authentication; encryption with master passphrase stored in base64; export and import of profiles to tar.gz with decryption on export.

Optional integrations: interactive selector with fzf to quickly choose profiles; sshpass to allow password authentication without interaction; export and import for backup and migration.

Installation on Linux or macOS Intel example: curl -fsSL https://raw.githubusercontent.com/bpidperygora/SSH-profile-manager/main/install.sh | GITHUB_REPO=bpidperygora/SSH-profile-manager bash -s -- --bin-dir=/usr/local/bin --name=ssh-connect

Installation on macOS Apple Silicon example: curl -fsSL https://raw.githubusercontent.com/bpidperygora/SSH-profile-manager/main/install.sh | GITHUB_REPO=bpidperygora/SSH-profile-manager bash -s -- --bin-dir=/opt/homebrew/bin --name=ssh-connect

Required and optional dependencies: openssl is required for encryption; sshpass and fzf are optional for auto login and interactive selector; if you want to avoid automatic dependency installation, use NO_DEPS equals 1 before the installer.

Uninstallation example: curl -fsSL https://raw.githubusercontent.com/bpidperygora/SSH-profile-manager/main/uninstall.sh | bash -s -- --bin-dir=/usr/local/bin --name=ssh-connect

Common usage: run ssh-connect without arguments to open the interactive selector; ssh-connect name to connect directly; ssh-connect create to create a new profile; ssh-connect update name to update a profile; ssh-connect delete name to delete a profile; ssh-connect export to export all profiles; ssh-connect list to list profile names.

Profile location: profile files are saved in tilde slash ssh_profile slash profiles slash and have the extension dot profile.

Security notes: passwords are encrypted at rest with AES-256-CBC and PBKDF2 using OpenSSL; decryption happens on demand and plaintext remains in memory briefly when using sshpass; it is recommended to prioritize SSH keys whenever possible and reserve passwords for legacy systems and jump boxes.

Why choose this tool: it solves the lack of a single CLI solution that combines local password encryption, auto login with sshpass, interactive selector with fzf, secure export, and installation in a single file without vendor lock-in.

About Q2BSTUDIO: Q2BSTUDIO is a custom software development company specialized in custom applications and custom software for businesses that need personalized solutions. We are specialists in artificial intelligence and AI for businesses, we develop AI agents and automation solutions with advanced models, and we offer cybersecurity services to protect critical infrastructure and data. We also provide AWS and Azure cloud services, business intelligence services, and Power BI implementations for analysis and visualization. Our experience in AI, cybersecurity, cloud architectures, and custom applications allows us to integrate tools like ssh-connect into secure and scalable workflows.

Featured services from Q2BSTUDIO: custom application development, custom software consulting, artificial intelligence and AI agent integration, cybersecurity and hardening projects, migration and management in AWS and Azure cloud services, business intelligence solutions, and dashboards with Power BI.

Contact Q2BSTUDIO to deploy secure and personalized solutions that include best practices in SSH access management, secret encryption, and AI automation. Keywords for searches and positioning: custom applications, custom software, artificial intelligence, cybersecurity, AWS and Azure cloud services, business intelligence services, AI for businesses, AI agents, Power BI.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.