Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Perl script monitoring ssh port

by crenz (Priest)
on Jul 29, 2003 at 13:31 UTC ( #278819=note: print w/ replies, xml ) Need Help??


in reply to Analyze Traffic of ssh port using perl script

To achieve that, you would probably need to configure your SSH server to write a logfile, and analyze that.

Also, the last and who Unix commands might be more useful for you.

Update: You might also want to take a look at the User::Utmp module.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://278819]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-08-27 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (390 votes). Check out past polls.