Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Logging SSH Connections to its own log file


    What I would like to do is log SSH connections to a log file of its own so I can go through the logs and see who is connecting and when. Anyone know of documentation out there that can accomplish this task? Any help would be greatly appreciated. I have done a google search but not finding what I am looking for

    Thanks

    -Exorcist76

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    That's done by default.. but they're in /var/log/secure or some other file..

    You need to configure syslog so it saves all ssh logs under/ var/log/sshd or something. The filename is /etc/syslog.conf
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •