Commit Graph

4 Commits

Author SHA1 Message Date
Ognjen Djukic a98b4207e6 VPS bootstrap: stop accepting the client's locale over SSH
Debian's sshd_config has AcceptEnv LANG LC_*, so a PC with e.g.
en_GB.UTF-8 makes bash print setlocale warnings on every login because
only en_US.UTF-8 is generated on the server. Comment out AcceptEnv during
hardening so the server keeps its own locale.
2026-10-26 14:36:49 +01:00
Ognjen Djukic da7bf7107a VPS bootstrap: unlock the deploy user and give it passwordless sudo
useradd leaves the password field as '!'. After hardening sets UsePAM no,
sshd treats that account as locked and refuses even key logins, so the
bootstrap stopped with 'Key login failed after hardening'. Set the field to
'*' (no password, not locked).

The key-only deploy user has no password, so sudo for install-rubix.sh and
up.sh could never succeed. Add /etc/sudoers.d/90-rubix-<user> with NOPASSWD,
checked with visudo, and install sudo if the image lacks it.
2026-10-26 13:59:50 +01:00
Sinisa Madzar cbc6ecf14c Auto-clean stale SSH known_hosts entries in VPS bootstrap flow
- Remove existing host and host:port fingerprints before first password login test
- Prevent host key mismatch failures when reprovisioned VPS reuses the same IP or alias
2026-06-02 15:33:11 +02:00
Sinisa Madzar 0d27eb7463 Add bootstrap-vps-ssh and full server install README
- Move SSH bootstrap from rubix; wget from public rubix-deploy on PC
- README steps 0–5 and updates match former rubix install flow
2026-06-01 07:37:36 +02:00