Hi Ben,
Yes, compile in tcp-wrappers and set up your /etc/hosts.allow and
/etc/hosts.deny files to create logs wherever you want them to go.
Do something like this:
telnetd,ftpd,kshd,klogind,eklogind,sshd :\
192.77.173.,\
204.168.18., \
204.168.91., \
204.168.68., \
207.127.151., \
spawn (DATE=`date`; /bin/echo $DATE %d %u %c >>
/var/log/wrapper.allow.log)
Good luck, Carl
On 27-Apr-00 Ben Segbawu wrote:
> Hi All
> Is there anyway apart from syslog or messages to create a log file that
> records all ssh request .... both successful and unsuccessful attempts.
> This
> is for both Solaris and HPUX
>
>
> Ben Segbawu
> Unix Network Administrator
> HCIA-Sachs
------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 27-Apr-00 Phone: 315-453-2912 Ex. 5336
Time: 15:20:23 Fax: 315-453-3052
Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY 13202
------------------------------------------------------------------------