[exec] The script cannot be executed with < in the ssh command
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The script cannot be executed with < in the ssh command
To Reproduce
failed to execute the following command in actions.
await exec.exec('ssh root@test < test.sh');
Screenshots

Contributor guide
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 with the reported exec.exec entry point and reproduce ssh root@test < test.sh in the actions toolkit context. Trace how this command is executed; done means the SSH command can run the referenced script with < input redirection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100