Files
archy/.gitea/workflows/fix-ssh.yml
Dorian 0a5ef4c987
Some checks failed
Build Archipelago ISO (dev) / build-iso (push) Failing after 0s
Fix SSH Permissions / fix-ssh (push) Failing after 0s
fix: emergency SSH permission fix via CI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 04:00:37 +01:00

19 lines
414 B
YAML

name: Fix SSH Permissions
on:
push:
branches: [main]
jobs:
fix-ssh:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Fix debian user UID and SSH
run: |
sudo chown -R debian:debian /home/debian
sudo chmod 700 /home/debian/.ssh
sudo chmod 600 /home/debian/.ssh/authorized_keys
sudo systemctl restart sshd
echo "SSH fixed"