how to log sshd access in a single file
Matthew Seaman
matthew at FreeBSD.org
Mon Sep 16 18:16:21 UTC 2013
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
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 268 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20130916/38623a90/attachment.sig>
More information about the freebsd-questions
mailing list