Is it possible to have hostname in ssh logs alongwith the ipaddress ?
Issue
- Is it possible to have hostname in ssh logs alongwith the ipaddress ?
For eg :-
Apr 5 12:21:44 abc sshd[5592]: Accepted password for root from 10.65.210.217 port 49618 ssh2 << This is normal format
Apr 5 12:21:44 abc sshd[5592]: Accepted password for root from < hostname of client > 10.65.210.217 port 49618 ssh2 << This is required format
Is this possible ?
Environment
- All Red Hat Enterprise Linux Versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
