appleboy / appleboy/scp-action

ssh: command failed

Open
#145 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.6k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

Every time I try to copy my files I get the following error:
`2023/10/05 11:15:16 error copy file to dest: ***, error message: ssh: command scp -tr SagKakNsXw.tar.gz failed`

This is my action:
```yml
- name: Copy Files
uses: appleboy/scp-action@v0.1.4
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: "build/libs/core.jar,build/libs/library.jar"
target: "/plugins"
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reviewing the workflow inputs and the scp-action v0.1.4 SSH/SCP handling, then reproduce the copy using the listed source files and target. Done means identifying why the `scp -tr` command fails and documenting or implementing a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.