Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error message: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain #126

Open
QTTQ opened this issue Jul 5, 2021 · 1 comment

Comments

@QTTQ
Copy link

QTTQ commented Jul 5, 2021

  • name: scp
    image: appleboy/drone-scp
    settings:
    host:
    - ...01
    - ..
    .02
    username: root
    password:
    from_secret:
    - ssh_password
    - ssh_password1
    port: 22
    target:
    - /home/web_temp
    source:
    - "*"
    rm: true
    when:
    branch: master"
@Wxh16144
Copy link

I had this problem at first, but I used ssh_password and it worked.

You can refer to my configuration

  1. add ssh_password to the runner ui . (must be this name, strictly case-sensitive)

  2. specify docker image version 1.6.3. (preferably)

  3. specify the password in the .drone.yml file.

image

Hope it can help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants