Skip to content

Paramiko doesn't support rsa-sha2-512 and rsa-sha2-256. #1734

@Dreamsorcerer

Description

@Dreamsorcerer

When trying to connect to my server with Paramiko, I just get Authentication failed..
Looking at the server logs, I see:
userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedKeyTypes [preauth]

The connection works fine using openssh with the same key, so it looks like Paramiko doesn't use rsa-sha2-512/256.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions