Skip to content

fix: copy SSH agent bootstrap via remote shell#6

Closed
ibetitsmike wants to merge 1 commit into
mainfrom
mike/plat-177-mutagen-home-bootstrap-signed
Closed

fix: copy SSH agent bootstrap via remote shell#6
ibetitsmike wants to merge 1 commit into
mainfrom
mike/plat-177-mutagen-home-bootstrap-signed

Conversation

@ibetitsmike
Copy link
Copy Markdown

Mux working on behalf of Mike.

Summary

  • Copy home-relative SSH agent bootstrap files through a remote shell command instead of scp.
  • Keep the existing scp path for other SSH copy destinations.
  • Mark copied POSIX agents executable after the copy, since streaming through cat does not preserve executable bits.

Validation

  • go run scripts/build.go --mode=local
  • go test ./pkg/agent ./pkg/agent/transport/ssh
  • go test ./pkg/agent/...
  • go test ./...

Signed-off-by: Michael Suchacz <203725896+ibetitsmike@users.noreply.github.com>
@ibetitsmike
Copy link
Copy Markdown
Author

Mux working on behalf of Mike.

Closing this PR because the sign-off line was too long for commit verification. I opened the locally verified replacement PR at #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant