sshd: public exposure contradicts tangled-knot 'tailnet-only' comment; do security pass #103
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/infrastructure#103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
During mobile-SSH debugging today,
auth.logon kai-server showed live brute-force scan attempts from public IPs (2.57.122.177,89.134.210.182,213.35.128.24,161.35.139.3). That contradicts the comment ininfrastructure/sshd/tangled-knot.confwhich states 'SSH stays tailnet-only.'Observed state on kai-server (snapshot from this debug session)
0.0.0.0:22and[::]:22(all interfaces, including public).systemctl is-active fail2ban sshguard-> both inactive.ufwactive, rules not verified in this session (no interactive sudo).Likely sources of the gap
Match User gitblock). If so, the 'tailnet-only' comment is stale and the security posture relies entirely on the keyfetch denying unknown keys.Proposed scope for the security pass
Non-exhaustive, ordered by likely payoff:
docs/k3s-deploy-notes.mdor a newdocs/ssh-exposure.md.gituser, restrict thekaiuser to tailnet-only via aMatch Addressblock + a non-default port for the git user, or split the daemons.PasswordAuthenticationglobally if not already; pubkey only. (Need to verify current state - not visible without sudo.)PermitRootLoginglobally. (Need to verify.)ListenAddressto100.69.164.66(tailscale0) +127.0.0.1if router forwards aren't required.docs/k3s-deploy-notes.mdsection on tailnet-only services and update if reality differs.Related
coilysiren/mobile-ssh-debug.mdon Kai's workstation).Filed by Claude.
this was b/c of DMZ config