Checked docs not able send password or ssh_key getting this error
- Dominant language
- Go
- Stars
- 314
- Forks
- 79
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
This is run a workflow that uses your docker file image inside a container
The problem faced tired using password failed since my password had a $ sign in it tried "$PASSWORD" tried all the options did not work and shifted to ssh password this the error.
Run sh -c "/bin/drone-ssh --host $HOST --username $USERNAME --script $SCRIPT --port 22 --debug -P $SSH_PASSWORD"
======CMD======
whoami
======END======
======ENV======
======END======
[20](https://github.com/intel-innersource/applications.analytics.plasvc.maintenance/actions/runs/4032433319/jobs/6932307507#step:4:21)[23](https://github.com/intel-innersource/applications.analytics.plasvc.maintenance/actions/runs/4032433319/jobs/6932307507#step:4:24)/01/28 15:28:39 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
command terminated with exit code 1
Error: Process completed with exit code
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported workflow invocation using the `/bin/drone-ssh` command, including the password containing `$`, and inspect how the Docker image receives its environment variables. Compare the authentication failure output with the supplied `--password` and `--script` arguments; done means the documented password or SSH-key workflow authenticates successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, shell
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100