Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
JASPAL_SINGH
Contributor

Verify the Admin IP | Session Details !

Jump to solution

Hi Friends,

I want to know  the command  like to verify the IP of the system or platform from where I have login (ssh) the checkpoint gateway (R77.30 / R80 ) .

Something like session login details etc.

 

Regards,

Jaspal Singh

0 Kudos
2 Solutions

Accepted Solutions
Timothy_Hall
Champion
Champion

If the login name you were using is admin for example, to see admin's login history including source IP use the command last admin from expert mode.  You can also just run last by itself to see login history for all accounts.

 

New 2021 IPS/AV/ABOT Immersion Self-Guided Video Series
now available at http://www.maxpowerfirewalls.com

View solution in original post

Danny
Champion
Champion
last -20 -w
last -20 -i

View solution in original post

7 Replies
Timothy_Hall
Champion
Champion

If the login name you were using is admin for example, to see admin's login history including source IP use the command last admin from expert mode.  You can also just run last by itself to see login history for all accounts.

 

New 2021 IPS/AV/ABOT Immersion Self-Guided Video Series
now available at http://www.maxpowerfirewalls.com
JASPAL_SINGH
Contributor

Thanks for the quick response, it works.

But now there is another point came into picture.

In the output, I am getting names instead of IP.

Can we convert it into IP ?

admin    pts/2        reigate_citrix_n Fri Mar 29 12:07   still logged in
admin    pts/2        reigate_citrix_n Fri Mar 29 07:48 - 08:03  (00:15)

0 Kudos
Timothy_Hall
Champion
Champion

Try last -d

 

New 2021 IPS/AV/ABOT Immersion Self-Guided Video Series
now available at http://www.maxpowerfirewalls.com
0 Kudos
JASPAL_SINGH
Contributor
last -20 -i worked
0 Kudos
Danny
Champion
Champion
last -20 -w
last -20 -i
JASPAL_SINGH
Contributor

last -20 -i worked

thanks for the solution. 🙂

 

0 Kudos
Danny
Champion
Champion

I also added these commands to our ccc script.