Value In Brief
All You Need To Know Explained In Brief

ssh Handshake Failed Unable to Authenticate | Github Actions

Linux 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

ssh handshake failed error in github action deploy script

The fix is simple. just change the permission of authorized-keys by this command.

chmod 700 ~/.ssh/authorized_keys

change permission of ssh authorized keys

If it works, share it with a friend or colleage.