How do I get the local and public remote IP addresses of my ssh client?

Started by mahesh, Aug 02, 2023, 08:05 AM

Previous topic - Next topic

mahesh

Dear All,


I have many clients connecting to my Ubuntu server. I have checked the server's ssh auth log file, it is only showing the public IP address, but I need both IPs (the client's local private and public IP address). Please share your feedback on this.

Thank you!!!!