drone-ssh icon indicating copy to clipboard operation
drone-ssh copied to clipboard

ssh.ParsePrivateKey: ssh: no key found

Open fivenull opened this issue 3 years ago • 1 comments

Hello, I have a problem i use password ,is ok ,but use ssh_key failure

2022/03/18 08:47:59 ssh.ParsePrivateKey: ssh: no key found 2022/03/18 08:47:59 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain

fivenull avatar Mar 18 '22 08:03 fivenull

post your config?

appleboy avatar Jun 15 '22 14:06 appleboy

I'm having the same issue running the github action.

Config: image

The debug output prints: image so it seems to get the key

The key is also passed to docker (-e "INPUT_KEY") and works when connecting locally.

fehnomenal avatar Jan 12 '23 14:01 fehnomenal