appleboy / appleboy/scp-action
When user default shell is set to RSSH, the action fails
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.6k
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
Remote users which are restricted in there operations, like most users which only need to do SCP operations, are unable to do SCP operations.
STEPS TO REPRODUCE
- On the remote machine
1.1. Create a user for remote access
1.2. Ensure it's default shell is set to/usr/bin/rssh - Run the action
EXPECTED RESULT
The same result as running SCP command while doing a manual upload
ACTUAL RESULT
The action fails with
drone-scp error: error copy file to dest: ***, error message: Process exited with status 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the GitHub Action failure with a remote user whose default shell is /usr/bin/rssh, then compare it with a manual SCP upload. Done means the action successfully performs the same SCP operation for that restricted user and retains existing behavior for ordinary SSH users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, shell
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100