Fast SSH Connection TUI - sshc

182.68.***.***
13

I think AI folks probably don't use ssh much. So I was wondering whether to introduce it on Mac, server, or Linux, but since here is my main base, I decided to post it here in [Chat].

I usually used a neat terminal app called tabby terminal, and its preset function was very good (personally). But because it's electron, it's also heavy, and when loading PowerShell on Windows, the characters or screen often get corrupted. So I mainly use iterm2 on Mac. iterm2 is a bit heavy too, but I think there's no other terminal like this.

I run a homelab (I call it that, install Linux on an old computer and use selfhost services myself), and although not often, I have to remotely connect via ssh for work. tabby is convenient, but running it with iterm2 wasn't a good experience. So I just made ssh config like a preset and set the alias to cat ~/.ssh/config to see the servers every time. But as the aliases increased, it became annoying and harder to memorize, so I lightly made it with rust tui.

How it works

After installation, enter the `sshc` command in the terminal, and a host picker will appear below the shell prompt (similar to fzf). Use the slash (/) command to search for hosts or use j, k, or arrow keys to select and press Enter to connect via ssh. That's all there is to it.

$ sshc
┌─ Hosts ──────────────────────────────┐
│ > n100-ubuntu    d9ng@192.168.1.121  │
│   prox-ubuntu    d9ng@192.168.1.90   │
│   oci-a          ubuntu@152.67...    │
│   ...                                │
└──────────────────────────────────────┘

Since it reads the existing ~/.ssh/config as is, no separate configuration is required (for those who don't usually use config, you can enter `sshc -m` (manager mode) and add hosts with the 'a' key).

Additional features

Because I made it for personal use, I added a few subtle features.

  • Frequently used hosts can be bookmarked with f (automatically moved to the top)

  • Recently connected hosts are also moved up (bookmarks first).

  • Tags (# @tags: prod, db) can be attached and filtered with @prod.

  • In manager mode (sshc -m), you can add, modify, and delete hosts.

  • However, it doesn't touch the user-written ~/.ssh/config. Added hosts are written to a separate file and only one line (with confirmation) is added as an Include.

https://github.com/hang-in/sshc

I'm trying my best to check issues within 24 hours. Thank you!

로그인한 회원만 댓글 등록이 가능합니다.

개발한당

KR | ID | EN
  • IDR
  • KOR
8.36 0.01

2026.07.10 KEB 하나은행 고시회차 1009회

다가오는 한인 행사일정

  • 등록 된 일정이 없어요!