Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(agent/agentssh): allow scp to exit with zero status#12028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mafredri merged 1 commit intomainfrommafredri/fix-agent-agentssh-scp-exit
Feb 7, 2024

Conversation

mafredri
Copy link
Member

I wanted to add a test for this but I didn't manage to do it with the SCP client library we use in tests. The exit code is always EOF, whereas the exit is cleaner live:

2024-02-06 14:34:34.404 [warn]  ssh-server: sftp server closed with error  remote_addr=[fd7a:115c:a1e0:4a91:860b:c4d9:67b2:eed1]:42916  local_addr=[fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4]:1  id=7b45d6dd-e187-4800-99fd-026bf8a2e1c3  error=<nil>

Fixes#11786

@mafredrimafredri self-assigned thisFeb 6, 2024
@mafredrimafredri merged commitf2aef07 intomainFeb 7, 2024
@mafredrimafredri deleted the mafredri/fix-agent-agentssh-scp-exit branchFebruary 7, 2024 08:22
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsFeb 7, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@coadlercoadlercoadler approved these changes

Assignees

@mafredrimafredri

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

scp over SSH exits with status code 1 after successful transfer
2 participants
@mafredri@coadler

[8]ページ先頭

©2009-2025 Movatter.jp