how to configure sshd to log client ip address

(Doc ID 2153971.1)

Last updated on JUNE 26, 2016

Applies to:

Solaris SPARC Operating System - Version 10 1/13 U11 and later
Information in this document applies to any platform.
The default setup of the sshd does not log the ip address of the client and sometimes we need to isolate these clients address or addresses to make correlations in the logs.

eg. sshd[13802]: [ID 800047 auth.crit] monitor fatal: protocol error during kex, no DH_GEX_REQUEST: 254

which is not helpful without the src ip address of the client.

Goal

 To be able to setup sshd to log the src ip address of the clients.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms