Hi ,
I want a perl script which will monitor the traffic on ssh port and
1) will catch the user name of the user
2) the ip address of the user
3) will log the connection time as hours and date beginning and ending
All these information will be logged in another file.
The question will be which user, when, at what time, has connected to server and left the server. The program should answer all these questions .
Can anyone suggest me how I can design this script .
Thankyou !