appleboy / appleboy/scp-action
ssh.ParsePrivateKey: ssh: no key found
- Dominant language
- Shell
- Stars
- 1.6k
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
Im getting this error:
`2021/11/12 09:59:53 ssh.ParsePrivateKey: ssh: no key found
2021/11/12 09:59:54 error copy file to dest: ***, error message: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
drone-scp error: error copy file to dest: ***, error message: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain`
And my code looks like:
`- name: copy file via ssh key
uses: appleboy/scp-action@v0.1.2
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "${{ secrets.SOURCE}}"
target: ${{ secrets.TARGET }}`
Any tips how to fix it?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the scp-action v0.1.2 workflow configuration and the ParsePrivateKey and handshake errors shown in the issue. Reproduce the copy using the supplied host, username, key, source, and target inputs; done means the action authenticates and copies the requested file without these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100