Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

237 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sshlog v2.1

sshlog is a server-side log parsing tool to assemble ssh-connection logs.

Primarily made for Linux-administrators / datacenter-operators with sufficient command-line interface (CLI) experience, or mostly anyone who can benefit from using it ;)

It was prototyped to be useful on small computer-terminals and mobile devices, like Android smart-phones / -tablets / -netbooks.

It comes in various versions: Bash, C, C++, Go, Python, Rust (located under: src/).

what does sshlog do?

sshlog generates a log of SSH connections made to a system, filters results based on command-line arguments provided and pipes the results to the screen, or, into a timestamped textfile in "~/ssh-logs" in your home-directory.

It can filter log-results based on accepted/failed login(s), or by authentication-method(s) used by the remote connection (password / publickey / PAM).

Although originally written for bigrig- / server-use, it has proven to be quite a useful little log-tool on any Linux/MacOS/BSD-box that runs an OpenSSH-server.

I mainly made it to work on Ubuntu Server and certain derivatives (Ubuntu / Debian).

But have since refactored it to portable shell script to work on any unices: Linux, MacOS, BSD.

installing

  • Copy the shell-script(s) / C binary to /usr/local/sbin:

  • Then copy (select) man1-files (< program-name >.1.gz) to /usr/local/share/man/man1.

sudo cp man/sshlog.1.gz /usr/local/share/man/man1

About

Log-parser for SSH auditing - server-side tool.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages