Looking for a working example of sshd_config setup fille

Peter Flynn peter at silmaril.ie
Sat Aug 16 18:37:13 UTC 2025


On Sat, Aug 16, 2025 at 7:08 AM bruce <badouglas at gmail.com> wrote:
> 
> Setting up ssh, and wanted to view what others may have as a working/
> secure sshd_config (ssh_config as well) files.
> 
> Plenty of sites, but haven't yet run across a full example of a live/
> working sshd/ssh config file

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.

Peter



More information about the ubuntu-users mailing list