Date: Mon, 29 Jan 2024 13:14:29 +0000 From: Jonathan Adams <jfadams1963@proton.me> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Enabling SSHD Message-ID: <BHs6axVCDQRUWc9O5KLVIF5b9tVo_qUIXZfJ3ASj6U-6sfJKBhcSrOn_VWfYfrxOQyFSEZKLjQuHbBKJ57NuwR-jAl7kDRYp7ix7bDVgCfk=@proton.me> In-Reply-To: <CPja5CJLsYzkPuo_qd5lnJuUj6lBBCW2uHo3NcbFubhGSKa2gNEu0ETvjZSAwI_-rQFuVvUJR2s10xbz40uL17k1lpLSCiz8azHd77S9LK8=@proton.me> References: <20240129125745.fuh6nnc4dooto2oz@yosemite.mars.lan> <CPja5CJLsYzkPuo_qd5lnJuUj6lBBCW2uHo3NcbFubhGSKa2gNEu0ETvjZSAwI_-rQFuVvUJR2s10xbz40uL17k1lpLSCiz8azHd77S9LK8=@proton.me>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------d18de3d94c718490e11015df27aa06482d9b6052865643d7df56323b0ef5e0a2 Content-Type: multipart/mixed;boundary=---------------------389682ebf2940787490e57cbb60521a0 -----------------------389682ebf2940787490e57cbb60521a0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 ------- 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@quillandmo= use.com wrote: > = > > Folks: > > = > > I have a new FreeBSD 14 install. I'd like to be able to do some manage= ment > > on this machine (on my LAN) via SSH. I have a stock /etc/ssh/sshd_conf= ig > > file, except for allowing root to login. I've made that edit to the fi= le, > > and restarted the SSH daemon via /etc/rc.d/sshd restart. However, this > > machine still refuses SSH connections, either from a regular user or r= oot. > > 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 -----------------------389682ebf2940787490e57cbb60521a0-- --------d18de3d94c718490e11015df27aa06482d9b6052865643d7df56323b0ef5e0a2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmW3pJsJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAPOJAP0VdPKajJ7T/v0nLFhyns8HopCRjUkWvWRxh6FXMt2ezQD/Vw5y eiTbnW5rvyBQYJhOecg/yxYbm43m6e7iNz6Wlwo= =q4Es -----END PGP SIGNATURE----- --------d18de3d94c718490e11015df27aa06482d9b6052865643d7df56323b0ef5e0a2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BHs6axVCDQRUWc9O5KLVIF5b9tVo_qUIXZfJ3ASj6U-6sfJKBhcSrOn_VWfYfrxOQyFSEZKLjQuHbBKJ57NuwR-jAl7kDRYp7ix7bDVgCfk=>