Re: Enabling SSHD

From: Jonathan Adams <jfadams1963_at_proton.me>
Date: Mon, 29 Jan 2024 13:14:29 UTC
------- Forwarded Message -------
From: Jonathan Adams <jfadams1963@proton.me>
Date: On Monday, January 29th, 2024 at 8:10 AM
Subject: Re: Enabling SSHD
To: paulf@quillandmouse.com <paulf@quillandmouse.com>


> On Monday, January 29th, 2024 at 7:57 AM, Paul M Foster paulf@quillandmouse.com wrote:
> 

> > Folks:
> > 

> > I have a new FreeBSD 14 install. I'd like to be able to do some management
> > on this machine (on my LAN) via SSH. I have a stock /etc/ssh/sshd_config
> > file, except for allowing root to login. I've made that edit to the file,
> > and restarted the SSH daemon via /etc/rc.d/sshd restart. However, this
> > machine still refuses SSH connections, either from a regular user or root.
> > What am I doing wrong?

  If I recall correctly, password-based logins are disabled by default in favour of key-based logins. You'll need to enable password-based logins or (better) go with key-based logins.

 Please disable root logins via SSH. Even on your LAN, it's bad practice.
 

- Jonathan Adams
 ____________________________________________
Before Turing, things were done to numbers.
After Turing, numbers began doing things"
- George Dyson