Skip to content

fix: diagnose invalid SSH config during deploy - #1060

Merged
jaagut merged 3 commits into
mainfrom
fix/deploy-openssh-error
Sep 11, 2026
Merged

fix: diagnose invalid SSH config during deploy#1060
jaagut merged 3 commits 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
@jaagut
jaagut merged commit 6a64988 into main Sep 11, 2026
3 checks passed
@jaagut
jaagut deleted the fix/deploy-openssh-error branch September 11, 2026 08:12
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in Software Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants