Skip to content

Checked docs not able send password or ssh_key getting this error #228

@ajith29

Description

@ajith29

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======
2023/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions