Looking for a working example of sshd_config setup fille

Colin Watson cjwatson at ubuntu.com
Tue Aug 19 08:36:33 UTC 2025


On Tue, Aug 19, 2025 at 09:18:52AM +0100, Peter Flynn wrote:
>On 19/08/2025 01:35, Colin Watson wrote:
>>I have no idea what, but something is weird about your systems, 
>>because this is _not_ required in general.
>
>It's been in my install script for several years, so it's possble that 
>it is outdated; but there would have been no way for me to know that 
>(except this list!)

Perhaps it was for some temporary problem long since fixed, or maybe you 
were using a non-OpenSSH client.

>>To test, I launched two copies of Ubuntu 24.04, and created a 
>>non-root user in both.  On one (the server), I installed the 
>>openssh-server package.  On the other (the client), I generated an 
>>RSA key
>[...]
>
>OK, so you *do* have to take additional action after installation.

Only if you want to use public key authentication.  If you're just using 
password authentication, that works out of the box with no additional 
action required.

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



More information about the ubuntu-users mailing list