Looking for a working example of sshd_config setup fille

Colin Watson cjwatson at ubuntu.com
Sun Aug 17 00:22:44 UTC 2025


On Sat, Aug 16, 2025 at 07:37:13PM +0100, Peter Flynn wrote:
>I see my setup notes say to add this to the end of the default 
>/etc/ssh/sshd_config file otherwise scp and ssh won't work.
>
>PubkeyAcceptedKeyTypes +ssh-rsa
>HostkeyAlgorithms +ssh-rsa
>
>I don't know why, but this solves the problem for all my machines of 
>not being able to log in to each other.

This should only be the case if you have some ancient SSH 
implementations involved.  It's best not to spread it around as a 
recommended configuration in general, as these options enable weaker 
cryptography.

   https://www.openssh.com/releasenotes.html#8.8

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]



More information about the ubuntu-users mailing list