Show HN: HostsLab – A Mac app for managing hosts file and SSH config
github.com·1d·
Discuss: Hacker News
🏠HomeLab
Preview
Report Post

HostsLab

A macOS desktop app for managing your /etc/hosts file and ~/.ssh/config. Built with Electron, React, and TypeScript.

HostsLab provides a visual interface to manage host entries and SSH connections without manually editing config files. Two tabs give you access to both tools from a single app.

Features

Hosts Tab

  • View all entries from /etc/hosts in a table
  • Add new host mappings
  • Edit existing entries (IP and hostname)
  • Toggle entries on/off (comments/uncomments the line)
  • Delete entries
  • System entries are protected from accidental modification
  • Preserves comments, blank lines, and formatting in the hosts file
  • Backs up the original hosts file before the first modification
  • Elevated permissions via native macOS password prompt

SSH Config …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help