Connections Over SSH

This serves the NYT Connections TUI over SSH.
$ ssh connections.lahman.dev
Running Locally
In one terminal, start the server,
$ go run .
2025/08/07 22:55:16 Starting SSH server on :2222
In a separate terminal, connect to the server,
$ ssh -p 2222 localhost
By default, the server looks for an SSH key at ~/.ssh/id_rsa.
This can be overridden with the --key-file flag.
Moreover, if running on port 22 is desired, you'll likely need elevated privileges (not recommended),
$ sudo connections-ssh --port 22
2025/08/07 22:55:16 Starting SSH server on :22
Install
go:
go install github.com/jmelahman/connections-ssh@latest
docker:
docker run \
--rm \
-p 2222:2222 \
-v $HOME/.ssh:/.ssh \
lahmanja/connections-ssh:latest
github:
Prebuilt packages are available from Github Releases.