Skip to content

SSH Key Login with ssh-rsa not possible[Issue]  #61

@zeusware

Description

@zeusware

See:
sshnet/SSH.NET#956
sshnet/SSH.NET#825 (comment)

Workaround:
A simple solution.

Add this line in /etc/ssh/sshd_config.

PubkeyAcceptedAlgorithms +ssh-rsa
Afterwards, restart the sshd service to make the new settings come into effect.

$ sudo systemctl restart sshd
From:
https://unix.stackexchange.com/questions/721606/ssh-server-gives-userauth-pubkey-key-type-ssh-rsa-not-in-pubkeyacceptedalgorit

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-reviewedIssue that needs reviewed

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions