ssh Handshake Failed Unable to Authenticate | Github ActionsLinux Web Development Laravel PHP Error fixing Guide Tutorials
I have set up the github action to deploy laravel website using appleboy ssh-action but all actions failed with this weird error message.
2022/09/03 23:46:24 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
The fix is simple. just change the permission of
authorized-keys by this command.
chmod 700 ~/.ssh/authorized_keys
If it works, share it with a friend or colleage.