in reply to Re: Analyze Traffic of ssh port using perl script
in thread Analyze Traffic of ssh port using perl script

Hi , I want to get connected to port 22 of a remote machine and then get the user's logged in on 22 port of that remote machine . I would like to display a list of users logged in , time of connect , disconnect time and the IP addresses from where they arrived . Can u suggest me something on my above problem ??? Thankyou !
  • Comment on Re: Re: Analyze Traffic of ssh port using perl script

Replies are listed 'Best First'.
Re: Re: Re: Analyze Traffic of ssh port using perl script
by pzbagel (Chaplain) on Jul 29, 2003 at 16:09 UTC

    Unless you can authenticate and get shell access, you will not be able to enumerate what is running on the box. You used to be able to do this with a service like rstat, rwho, finger, etc. but any sysadmin worth his salt turns those services off because they are an information leak for hackers.

    If you do have shell access, then simply have your script login and use one of the method I described above.

    HTH