how to log sshd access in a single file

2013-09-16 Thread aurikus grande
Hello, just a few days ago i setup my first FreeBSD server, so i am new to this OS. I already tried to find the information i was looking for, but to no luck. I try to add a line in /etc/hosts.allow which would allow and log all attempts using SSH (sshd). I found

Re: how to log sshd access in a single file

2013-09-16 Thread Rick Miller
On Mon, Sep 16, 2013 at 9:36 AM, aurikus grande auri...@gmail.com wrote: Hello, just a few days ago i setup my first FreeBSD server, so i am new to this OS. I already tried to find the information i was looking for, but to no luck. I try to add a line in /etc/hosts.allow which would allow

Re: how to log sshd access in a single file

2013-09-16 Thread Rick Miller
On Mon, Sep 16, 2013 at 1:57 PM, aurikus grande auri...@gmail.com wrote: Hello Rick, sorry that i did not reply to all, from now on i will use reply to all. Thanks for pointing it out. I will also open port 80 for web access, but i do not want to log those. Because i expect a huge amount

Re: how to log sshd access in a single file

2013-09-16 Thread aurikus grande
Hello Rick, sorry that i did not reply to all, from now on i will use reply to all. Thanks for pointing it out. I will also open port 80 for web access, but i do not want to log those. Because i expect a huge amount of traffic on my server. So i only want to log successfull and unsuccessfull

Re: how to log sshd access in a single file

2013-09-16 Thread Rick Miller
Hi Aurikus, Selecting Reply all when replying to messages on the list allows the entire list to benefit from the discussion. On Mon, Sep 16, 2013 at 11:05 AM, aurikus grande auri...@gmail.com wrote: Hello Rick. thanks a lot for your quick reply. Does your recommendation - to use

Re: how to log sshd access in a single file

2013-09-16 Thread Matthew Seaman
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

Re: how to log sshd access in a single file

2013-09-16 Thread aurikus grande
Most web servers handle their own logging. I do _not_ want the web server acces to be logged (at least as of now). Have you looked at /var/log/auth.log? yes, and as you mentioned in your previous update, it logs the success login (only). Unsuccessfull attempts are being sent to /var/log/messages

Re: how to log sshd access in a single file

2013-09-16 Thread Rick Miller
On Mon, Sep 16, 2013 at 2:44 PM, aurikus grande auri...@gmail.com wrote: Most web servers handle their own logging. I do _not_ want the web server acces to be logged (at least as of now). Which is fine, but still configured via your web server. Have you looked at /var/log/auth.log? yes,