How to see the console messages from sshd terminal?

https://forums.centos.org/viewtopic.php?t=3657

Re: how to see the console messages from sshd terminal ??

Post by philr5150 » 2013/02/28 18:18:02

tail /var/log/messages

If you want it “live”:

tail -f /var/log/messages

or try dmesg for bootup and other event messages.