appleboy / ssh-action

GitHub Actions for executing remote ssh commands.
https://github.com/marketplace/actions/ssh-remote-commands
MIT License
4.69k stars 570 forks source link

ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain #298

Closed khang-digitaliron closed 6 months ago

khang-digitaliron commented 7 months ago

image I just got this issue without error logging. Please help me!

sunvim commented 7 months ago

it seems to not set ssh pub key on the remote server

khang-digitaliron commented 7 months ago

I had added public key to authorized_keys on my server.

appleboy commented 6 months ago

@khang-digitaliron Try the password solution and move to https://github.com/appleboy/ssh-action/issues/297 for further discussion.

phpmac commented 5 months ago

Use fifsky/ssh-action@master to solve my problem,