panic: ssh tcp to server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Closed this issue · 0 comments
arjendevos commented
I've done all these steps:
- Created a new SSH key
- Added it to the target server
- Restarted the SSH service on the target server
- Connected with the new SSH key from my Mac to the target server (Worked)
- Added the SSH key to the CI/CD runner manually (Self hosted)
- Connected from the CI/CD runner to the target server (worked)
- Copied the SSH key to github secrets
- Copied the KNOWN_HOSTS to github secrets
- Run the github action
- Got this error:
panic: ssh tcp to server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain