Add restricted SFTP access and SSH key management #22

Merged
parkel merged 2 commits from feature/site-sftp into main 2026-11-21 10:57:13 +01:00
Owner

Changes

  • Give hosted sites SFTP access through OpenSSH, restricted to their own hosting directory.
  • Let assigned customers and authorized operators upload multiple public keys per hosting account. Display fingerprints, support individual removal, and let users revoke all keys for new connections.
  • Show key generation instructions in the panel and apply changes through a dedicated worker and restricted Unix socket.

Deployment

Apply migration 0019, configure OpenSSH on the web node, install the SFTP socket and worker, and set COULOBRE_LOCAL_WEB_SFTP=1. See the deployment guide for the full setup.

Verification

  • All 207 tests passed. Ruff and migration checks passed.
  • Verified separate key uploads, concurrent authorization of two keys, individual removal, and full revocation on Ubuntu 26.04.
  • Confirmed that Apache served a PHP file uploaded through SFTP.
## Changes - Give hosted sites SFTP access through OpenSSH, restricted to their own hosting directory. - Let assigned customers and authorized operators upload multiple public keys per hosting account. Display fingerprints, support individual removal, and let users revoke all keys for new connections. - Show key generation instructions in the panel and apply changes through a dedicated worker and restricted Unix socket. ## Deployment Apply migration 0019, configure OpenSSH on the web node, install the SFTP socket and worker, and set `COULOBRE_LOCAL_WEB_SFTP=1`. See the deployment guide for the full setup. ## Verification - All 207 tests passed. Ruff and migration checks passed. - Verified separate key uploads, concurrent authorization of two keys, individual removal, and full revocation on Ubuntu 26.04. - Confirmed that Apache served a PHP file uploaded through SFTP.
parkel added 2 commits 2026-11-21 10:57:08 +01:00
Add SSH public key management to hosting accounts
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
cde9fe00d4
parkel merged commit 3ce2184885 into main 2026-11-21 10:57:13 +01:00
parkel deleted branch feature/site-sftp 2026-11-21 10:57:13 +01:00
Sign in to join this conversation.