LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to transfer ssh login attempts to linux machine (https://www.linuxquestions.org/questions/linux-software-2/how-to-transfer-ssh-login-attempts-to-linux-machine-656988/)

junust 07-20-2008 10:12 AM

how to transfer ssh login attempts to linux machine
 
Hi,
I have two linux machine (ubuntu), and I want to force login login attempts(LOGS)from ssh authentication on first machine (open-SSHD) move to second one any time it happend, in other words, instead writing to /var/log/auth on local machine it alert me on second one

thx

jschiwal 07-20-2008 02:17 PM

You can have syslog-ng configured to log to a logging server, and to use a socket as a source at the destination. There is a syslog-ng.conf manpage. You may find examples on the net searching on google.

junust 07-20-2008 04:37 PM

Quote:

use a socket as a source at the destination
something like udp("destination ip+port514");to destination on source
and file("/var/log/auth.log");on source to destination
Dosn't work

Quote:

There is a syslog-ng.conf manpage.
great idea(do you ever see the man you talking about?)realy helpful!



Quote:

You may find examples on the net searching on google.
tryed, did't find!!, therefore Im here.. and ask!

jschiwal 07-20-2008 05:41 PM

http://www.campin.net/newlogcheck.html
This has an example of securing the log traffic through stunnel

Here is a syslog-ng mailing list archive:
https://lists.balabit.hu/pipermail/syslog-ng/

There is a particular example here:
http://sial.org/howto/logging/syslog-ng/

junust 07-22-2008 09:12 AM

Quote:

http://www.campin.net/newlogcheck.html
This has an example of securing the log traffic through stunnel

Here is a syslog-ng mailing list archive:
https://lists.balabit.hu/pipermail/syslog-ng/

There is a particular example here:
http://sial.org/howto/logging/syslog-ng/
DID IT !!!
Thanks to jschiwal

junust 07-22-2008 09:13 AM

DID IT !!!
Thanks to jschiwal


All times are GMT -5. The time now is 02:34 AM.