Skip to content

fix: diagnose invalid SSH config during deploy - #1060

Open
jaagut wants to merge 1 commit into
mainfrom
fix/deploy-openssh-error
Open

fix: diagnose invalid SSH config during deploy#1060
jaagut wants to merge 1 commit into
mainfrom
fix/deploy-openssh-error

Conversation

@jaagut

@jaagut jaagut commented Sep 6, 2026

Copy link
Copy Markdown
Member

Summary

  • add OpenSSH to the Pixi environment so rsync does not mix the host OpenSSH with Pixi's OpenSSL
  • validate the effective SSH configuration before starting rsync
  • explain unsafe SSH config ownership or permissions with an actionable chmod command
  • add focused tests for valid configs, permission failures, and other SSH configuration errors

This follows up on #1051. That change fixed the OpenSSH/OpenSSL ABI mismatch but exposed invalid local SSH config permissions as an opaque rsync exit code 255.

Validation

  • pixi run -e default pytest scripts/deploy/tests/test_misc.py
  • pixi run -e default ruff check scripts/deploy/misc.py scripts/deploy/tasks/sync.py scripts/deploy/tests/test_misc.py
  • pixi run -e default ruff format --check scripts/deploy/misc.py scripts/deploy/tasks/sync.py scripts/deploy/tests/test_misc.py
  • pixi run deploy -sv --skip-local-repo-check 172.20.1.16 (sync and remote robot environment verification succeeded after the local SSH config permissions were corrected)

@github-project-automation github-project-automation Bot moved this to 🆕 New in Software Sep 6, 2026
@jaagut jaagut moved this from 🆕 New to 👀 In review in Software Sep 6, 2026
@jaagut
jaagut requested review from MegaIng and ayin21 September 6, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

1 participant