Hi,
I'm curious - why?
The reason is quite simple: I am a kernel developer and sometimes ssh into my machine in several ssh sessions, many times during work sessions I monitor the kernel log by tail -f /var/log/messages, and any clutter of text simply distracts me and is not needed as I am working in an isolated LAN in a LAB, there is no outside access and no risk of penetration. I am sure there is a way to avoid this messages.
Any ideas anyone?
regards, Kevin
On Mon, Sep 1, 2014 at 8:18 PM, Pete Travis lists@petetravis.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/30/2014 08:58 AM, Kevin Wilson wrote:
Hi, Thanks. I checked all three options Rick suggested and none of them worked. Does anybody know about a solution which works ?
regards, Kevin
On Thu, Aug 21, 2014 at 10:57 PM, Rick Stevens ricks@alldigital.com
wrote:
On 08/21/2014 11:33 AM, Kevin Wilson issued this missive:
HI, Each time I ssh with a putty client from windows to Linux Fedora 20, I get the following messages in the /var/log/messages file: sshd[772]: pam_unix(sshd:session): session opened for user xxx by (uid=yyy)
Is there a way to prevent this messages ?
Try editing /etc/ssh/sshd_config. set "LogLevel" to "QUIET", "FATAL" or "ERROR" (default is "INFO") and restart sshd via "systemctl restart sshd.service"
Hey Kevin,
I'm curious - why? I've found these messages to be very useful when troubleshooting or auditing remote connection attempts. If you're looking at the logs and only want to see messages from a specific service, you can simply filter based on your needs at the time, ie `journalctl --since today --unit NetworkManager`.
- -- Pete Travis
- Fedora Docs Project Leader
- 'randomuser' on freenode
- immanetize@fedoraproject.org
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEcBAEBAgAGBQJUBKp1AAoJEL1wZM0+jj2ZPMsIAKLLTolhUXvns+X7SdpGEvvU wVRcPEKaxIP2ePk5MGmoiXKm42zNWAXtTkZsdovOnAm3iPf1APQAI3r1PEpR38pn Tih67ixYiFHtYOBGHndTUvGAoz3+27a/nEbf1XhOWYCB6H/Cpi8myiYbKdogG9Rq dxy6EGBwKQ573e4rdoOUZau/M1bab823NS9IS16QQqfdL5GPqCu9Y4Zvt+M1Rtj1 DBnF0859C+POPr1JXF5BWngsBM64C9qSvk9V90mKCoP4IDqCtwF0DcD+nR+yoCIG JPDbdthCMJbIvH7ajpbKlJ0w1sp9VdkijbJ/hLvEAnjm6elUK4sUksuKMN+03NE= =v52O -----END PGP SIGNATURE-----
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org