Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2024 16:14:00 +0100
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        Paul M Foster <paulf@quillandmouse.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Enabling SSHD
Message-ID:  <ZbfAuOq4DycNVMHw@lorvorc.mips.inka.de>
In-Reply-To: <20240129125745.fuh6nnc4dooto2oz@yosemite.mars.lan>
References:  <20240129125745.fuh6nnc4dooto2oz@yosemite.mars.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul M Foster:

> 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.

Is sshd running?  Check with ps.

Are you blocking the ssh port (22) with a packet filter?

What does a client say when you try to connect with "ssh -v"?

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZbfAuOq4DycNVMHw>