Make the panel actually operate the server, not just display it — for everything that works in the SSH user's own space (no sudo required). - FleetService: addAuthorizedKey (append, dedup, perms-safe via base64 transport), removeAuthorizedKey (by SHA256 fingerprint, preserves every other key — never rewrites blindly, no lockout), sshKeys (reload), deleteFile (SFTP unlink). - AddSshKey form modal: paste a public key -> appended over SSH + AuditEvent + list reload. Wired to the "Schlüssel hinzufügen" button on Server-Details. - Server-Details: key removal now performs the real SSH removal then reloads; new "Dateien" button opens the file manager scoped to this server. - Files: delete performs the real SFTP unlink then reloads the directory. Verified live: add+remove of a throwaway key leaves the existing key intact; real file delete confirmed gone. systemctl start/stop/restart still need a privileged credential (the demo account has no passwordless sudo). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| add-ssh-key.blade.php | ||
| confirm-action.blade.php | ||