Re: logging

From:
Date: 10/28/02


Date: Mon, 28 Oct 2002 16:14:20 GMT


[NEKKID]RS wrote:
> Morning All
>
> I am after a website or a HOWTO on logging with ssh.
>
> Basically I have tcp wrappers and ssh installed in the package from
> SunFreeware. Certain hosts are allowed and the rest are denied.
>
> But I would like to log all connections to port 22, and then put this
> information in a file.
>

Read up on syslog.

!sshd
*.* /var/log/sshd.log

touch /var/log/ssh.log
HUP syslogd



Relevant Pages

  • Re: RE: Re: ssh with tcp_wrappers!! contd/-
    ... Then try to ssh to localhost. ... your sshd is compiled with tcp wrappers. ... I don'y know if you really mean DenyGhost instead of DenyHost. ... Iptables might be an alternative for you if you don't' want to compile ...
    (RedHat)
  • Re: [opensuse] dictionary attacks
    ... joe wrote: ... and I also limit the IP addresses which will accept an ssh ... connection using tcp wrappers ... Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org ...
    (SuSE)
  • Re: Logging a forwarded SSH session
    ... > is behind a firewall and generally not accessible to the users. ... > should ssh to L and then ssh to M. ... > But how to accomplish the logging? ... You may be able to setup an SSH tunnel to a SOCKS5 proxy sitting ...
    (comp.os.linux.security)
  • Re: XFree86 process gets stuck in *Giant
    ... > non-responsive, no graphics, no ability to use the mouse or keyboard. ... > Upon logging into another machine and using ssh to connect to the hung ...
    (freebsd-current)
  • Logging a forwarded SSH session
    ... I want to be able to give some people shell access to a machine M that ... is behind a firewall and generally not accessible to the users. ... should ssh to L and then ssh to M. ... But how to accomplish the logging? ...
    (comp.os.linux.security)