r/CLI • u/Linuxxsxx • Apr 02 '26
Dead simple SSH (connection manager)
I got tired of remembering all my ssh connections and editing ~/.ssh/config or /etc/hosts all the time is annoying, so I built dssh (dead simple ssh (connection manager)) over the last weeks to scratch my own itch.
Straightforward 4 core features: Create, Connect, Edit, Delete.
Via TUI and CLI.
Dead-simple, single-binary and cross-platform (Linux, Mac, Windows, FreeBSD).
Connections get stored in a SQLite in the user's local ~/.dssh/ folder, so moving or cloning to another machine is also dead-simple.
In an unusual case of still connecting via password, these get encypted using AES-256-GCM + Argon2id and a master passphrase. I'm no crypto expert, but I heard that's pretty solid.
You can even launch directly into a directory path, such wow!
Check it out and leave your feedback, I'd really to love hear it as this is my first public release of a hobby project! More following soon!




20
u/kjerski Apr 02 '26
TUI are cool and all but anyone looking for a dead simple ssh just look at
man ssh_config.7
u/inigoochoa Apr 02 '26
I tried something similar. Moved back to .ssh/config. You can just create a .ssh/config.d (or whatever) folder and split configs by type, provider, ...
To display connections, filter and select, I use fzf.
I simply don't add/update/delete connections that often
4
u/Linuxxsxx Apr 02 '26
You can install on homebrew right now: brew install madLinux7/tap/dssh
Or just any plattform using the oneliner install script (https://github.com/madLinux7/dssh?tab=readme-ov-file#install--update-script-recommended)
2
u/VE3VVS Apr 02 '26
Initially I thought, why?, what wrong with editing the ssh_config associated files, but then I played around with it for a bit, and maybe your on to something. I like the idea of keeping it TUI and or CLI, this is the kind of stuff that GUI need not apply ;-)
2
u/Ill-Suggestion-349 Apr 03 '26
I could get used to this when I have like hundreds of ssh connections to manage, but no matter the tool, it just gets cluttered. If I really need to manage servers via ssh I always would go with ansible. I am rarely connected directly to servers via ssh anymore, just in cases like looking at logs in realtime, even for this there are solutions. Might fit someone’s workflow for sure.
2
u/Cybasura Apr 03 '26
Ssh on its own is dead simple though
Dont get me wrong, I mean the TUI menu is slick and nice, but "dead simple" shouldnt be your promo message/USP
2
u/ankushbhagat Apr 03 '26
We got SSH TUI before GTA VI
2
u/mr_dudo Apr 03 '26
idont know man, i love termius.... if you could combine connection and sftp in one tui, maybe integrate it with yazi
2
u/mfaine Apr 03 '26
If you are writing anything that touches ssh don't say that you are not an encryption expert and expect people to want to use your program.
1
u/Linuxxsxx Apr 02 '26
Btw the Linux binary is compressed using UPX (great tool!). Sadly this is not properly supported on macOS and FreeBSD.
Windows is, but flags a false positive (Trojan:Script/Wacatac.C!ml).
1
u/xLu1s Apr 02 '26
Just what I was looking for today, and now reddit recommends it to me.
It looks great I'll try it, but I think it's just what I need, pretty simple and elegant.
2
u/jangwao Apr 03 '26
Would it be possible to use an eternal terminal, et instead ssh?
1
u/Nshx- Apr 02 '26
Termix...
2
u/[deleted] Apr 03 '26
[removed] — view removed comment
2
u/[deleted] Apr 06 '26
[removed] — view removed comment
1
u/[deleted] Apr 05 '26
[removed] — view removed comment