Looking for a working example of sshd_config setup fille

Jeffrey Walton noloader at gmail.com
Mon Aug 18 13:58:43 UTC 2025


On Mon, Aug 18, 2025 at 9:23 AM Peter Flynn <peter at silmaril.ie> wrote:

> On 18/08/2025 14:16, Colin Law wrote:
> [...]
>
> > What do I have to do after installing Ubuntu Desktop on machine A
> > before I can ssh into machine B (assuming it already has ssh server
> > working)?
>
> The only note I have is the one I posted earlier. On Machine B (the
> target system), add these two lines to /etc/ssh/sshd_config
>
> PubkeyAcceptedKeyTypes +ssh-rsa
> HostkeyAlgorithms +ssh-rsa
>

No, this is not advised.


> But others have warned that RSA is untrustworthy or obsolete, so I am
> assuming that while this may work, it is not optimal, and there may be
> some other step required on new systems.
>

RSA is fine. The reason ssh-rsa is not advised was already explained at <
https://lists.ubuntu.com/archives/ubuntu-users/2025-August/314765.html>.

Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20250818/9591db65/attachment-0001.html>


More information about the ubuntu-users mailing list