👨‍🏫 Tutorial Basic Linux command to check who is connected to your SSH server.

R3g4z4k1

Established

SSH sets the environment variable SSH_CONNECTION to contain client IP address, client port number, server IP address, and server port number seperated by spaces.

You can use
You do not have permission to view the full content of this post. Log in or register now.
to get the client's IP address. To get the DNS name use something like host or dig -x:
You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.
Sample Screenshot:
You do not have permission to view the full content of this post. Log in or register now.
Thank you for your support!
Keep Learning!
Keep going!

Follow for more updates!
 

About this Thread

  • 1
    Replies
  • 595
    Views
  • 2
    Participants
Last reply from:
Umbrellaz

Online now

Members online
1,078
Guests online
1,698
Total visitors
2,776

Forum statistics

Threads
2,287,384
Posts
29,044,386
Members
1,216,504
Latest member
Jolowewi
Back
Top