Date: Mon, 16 Sep 2013 19:16:15 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: how to log sshd access in a single file Message-ID: <52374AEF.3090209@FreeBSD.org> In-Reply-To: <CAPzqM6D=hy9P-N3TwLZQAbPp4bU_Sp57-LN-DmLaBkD_3jQSTg@mail.gmail.com> References: <CAPzqM6D=hy9P-N3TwLZQAbPp4bU_Sp57-LN-DmLaBkD_3jQSTg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --h9ruPpiqMMqAt56NJCGXXVCTJvdgLblMl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 16/09/2013 14:36, aurikus grande wrote: > I try to add a line in /etc/hosts.allow which would allow and log all > attempts using SSH (sshd). Actually, by default all logins via ssh are already logged to /var/log/auth.log Verb. Sap. tcpwrappers are mostly a lot less useful than they appear to be. Generally there's a much better way to do whatever you want already in the FreeBSD base system, or failing that in a readily available port, which will be more effective, less load on the system and that doesn't require you to run everything out of inetd or recompile it specially with tcpwrappers support. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --h9ruPpiqMMqAt56NJCGXXVCTJvdgLblMl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlI3SvAACgkQ8Mjk52CukIzCRACfVxIVD1Db2RcxPXARECx+lSAC QhQAn3gJB6KGfXlo3jPXHqxDPi8QwEu7 =IM0e -----END PGP SIGNATURE----- --h9ruPpiqMMqAt56NJCGXXVCTJvdgLblMl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52374AEF.3090209>