Commit Graph

3 Commits

Author SHA1 Message Date
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