| Summary: | PubkeyAcceptedKeyTypes contains ssh-rsa, but sshd fails pubkey login with "key type ssh-rsa not in PubkeyAcceptedKeyTypes" | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Michael Hill <michael> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | jjelen |
| Priority: | P5 | ||
| Version: | 7.9p1 | ||
| Hardware: | amd64 | ||
| OS: | Linux | ||
|
Description
Michael Hill
2019-04-19 03:53:31 AEST
I should note that the only key I have a problem with is an RSA key; my normal interactive key (type ED25519) can still connect. The OpenSSH is now using SHA2 variants by default. Your configurations do not list them so they are not accepted by your server. Try to add rsa-sha2-512,rsa-sha2-256 to PubkeyAcceptedKeyTypes Perfect, that was the cause. Adding those key types solved the problem. Thank you! Close bugs fixed in openssh-8.1 release cycle |