Files
archy/.gitea/workflows/fix-ssh.yml
Dorian 178b728892
All checks were successful
Build Archipelago ISO (dev) / build-iso (push) Successful in 14m35s
Fix SSH Permissions / fix-ssh (push) Successful in 1s
fix: run SSH fix from /tmp to bypass broken home dir
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 10:36:26 +01:00

24 lines
492 B
YAML

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