appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
142 stars 30 forks source link

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

Open QTTQ opened 3 years ago

QTTQ commented 3 years ago
Wxh16144 commented 2 years ago

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.