Type:
issue
Question/Problem:
Original Error: *errors.errorString ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Symptoms:
Attempting to log in via `tsh login` produces the error seen in the logs bellow.
Logs:
WARN [CLIENT] Failed to authenticate with proxy proxy.teleport.proxy.services:3023. error:[ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain] client/api.go:2060 ERROR REPORT: Original Error: *errors.errorString ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Repro Steps:
n/a
Solution:
Common root causes for this issue are one of the following:
1. Time sync issues between Teleport Auth server and Local Client
2. Too many keys in the `ssh-agent` causing authentication to fail and after cycling through too many incorrect keys
For potential RC #1:
* Check time on Teleport Auth server and make sure it's accurate and not de-synced. If so, correct the time issue on the Teleport Auth server.
For potential RC #2:
* Clear out the `ssh-agent` with `ssh-add -D`, then logout and log back into teleport with `tsh login`
Comments
0 comments
Please sign in to leave a comment.