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

Verify the Admin IP | Session Details !

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
Legend Legend
Legend

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.

 

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com

View solution in original post

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

View solution in original post

7 Replies
Timothy_Hall
Legend Legend
Legend

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.

 

Gateway Performance Optimization R81.20 Course
now available at 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
Legend Legend
Legend

Try last -d

 

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com
0 Kudos
JASPAL_SINGH
Contributor
last -20 -i worked
0 Kudos
Danny
Champion Champion
Champion
last -20 -w
last -20 -i
JASPAL_SINGH
Contributor

last -20 -i worked

thanks for the solution. 🙂

 

0 Kudos
Danny
Champion Champion
Champion

I also added these commands to our ccc script.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events